...
Description |
---|
Excerpt |
---|
Creates and returns a MergeField at this Position. This merge field will have the specified name and contents. |
Signature | ||||
---|---|---|---|---|
| ||||
public MergeField InsertMergeField(System.String fieldName, System.String display)
{signature}{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Function InsertMergeField(ByVal fieldName As String, ByVal display As String) As MergeField
{signature}
{parameters}
{param:fieldName}A {{String}} representing the name of this merge field.{param}
{param:display}A {{String}} representing the text that will displayed for this merge field in the document.{param}
{returns}A {{MergeField}} object representing the newly created merge field.{returns}
{exceptions}
{exception:System.Exception}{exception}
{example}{code:csharp|title=C#} |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
A |
Param | ||||
---|---|---|---|---|
| ||||
A |
Returns |
---|
A |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|