IDatabaseSubstituteTemplateVars Method |
Substitutes template variables in the source string, returning the result. Assumes the current user.
Namespace:
SuperOffice.COM.Application
Assembly:
SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntaxstring SubstituteTemplateVars(
string SourceString,
int lContactId,
int lPersonId,
int lProjectId,
int lDocumentId,
bool bIsMailMergeDraft = false,
bool bUseHtmlBrackets = false,
bool bIsUrlEncoded = false
)
Function SubstituteTemplateVars (
SourceString As String,
lContactId As Integer,
lPersonId As Integer,
lProjectId As Integer,
lDocumentId As Integer,
Optional bIsMailMergeDraft As Boolean = false,
Optional bUseHtmlBrackets As Boolean = false,
Optional bIsUrlEncoded As Boolean = false
) As String
Dim instance As IDatabase
Dim SourceString As String
Dim lContactId As Integer
Dim lPersonId As Integer
Dim lProjectId As Integer
Dim lDocumentId As Integer
Dim bIsMailMergeDraft As Boolean
Dim bUseHtmlBrackets As Boolean
Dim bIsUrlEncoded As Boolean
Dim returnValue As String
returnValue = instance.SubstituteTemplateVars(SourceString,
lContactId, lPersonId, lProjectId,
lDocumentId, bIsMailMergeDraft,
bUseHtmlBrackets, bIsUrlEncoded)
String^ SubstituteTemplateVars(
[InAttribute] String^ SourceString,
[InAttribute] int lContactId,
[InAttribute] int lPersonId,
[InAttribute] int lProjectId,
[InAttribute] int lDocumentId,
[InAttribute] bool bIsMailMergeDraft = false,
[InAttribute] bool bUseHtmlBrackets = false,
[InAttribute] bool bIsUrlEncoded = false
)
Parameters
- SourceString
- Type: SystemString
- lContactId
- Type: SystemInt32
- lPersonId
- Type: SystemInt32
- lProjectId
- Type: SystemInt32
- lDocumentId
- Type: SystemInt32
- bIsMailMergeDraft (Optional)
- Type: SystemBoolean
- bUseHtmlBrackets (Optional)
- Type: SystemBoolean
- bIsUrlEncoded (Optional)
- Type: SystemBoolean
Return Value
Type:
String
See Also