IDatabaseSubstituteTemplateVarsEx Method |
Substitute template variables based on an associateid, returning the result.
Namespace:
SuperOffice.COM.Application
Assembly:
SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntaxstring SubstituteTemplateVarsEx(
string SourceString,
int lContactId,
int lPersonId,
int lProjectId,
int lSelectionId = 0,
int lAppointmentId = 0,
int lDocumentId = 0,
int lSaleId = 0,
int lAssociateId = 0,
bool bIsMailMergeDraft = false,
bool bUseHtmlBrackets = false,
bool bUrlEncode = false,
bool bUseHtmlBreak = false
)
Function SubstituteTemplateVarsEx (
SourceString As String,
lContactId As Integer,
lPersonId As Integer,
lProjectId As Integer,
Optional lSelectionId As Integer = 0,
Optional lAppointmentId As Integer = 0,
Optional lDocumentId As Integer = 0,
Optional lSaleId As Integer = 0,
Optional lAssociateId As Integer = 0,
Optional bIsMailMergeDraft As Boolean = false,
Optional bUseHtmlBrackets As Boolean = false,
Optional bUrlEncode As Boolean = false,
Optional bUseHtmlBreak 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 lSelectionId As Integer
Dim lAppointmentId As Integer
Dim lDocumentId As Integer
Dim lSaleId As Integer
Dim lAssociateId As Integer
Dim bIsMailMergeDraft As Boolean
Dim bUseHtmlBrackets As Boolean
Dim bUrlEncode As Boolean
Dim bUseHtmlBreak As Boolean
Dim returnValue As String
returnValue = instance.SubstituteTemplateVarsEx(SourceString,
lContactId, lPersonId, lProjectId,
lSelectionId, lAppointmentId, lDocumentId,
lSaleId, lAssociateId, bIsMailMergeDraft,
bUseHtmlBrackets, bUrlEncode, bUseHtmlBreak)
String^ SubstituteTemplateVarsEx(
[InAttribute] String^ SourceString,
[InAttribute] int lContactId,
[InAttribute] int lPersonId,
[InAttribute] int lProjectId,
[InAttribute] int lSelectionId = 0,
[InAttribute] int lAppointmentId = 0,
[InAttribute] int lDocumentId = 0,
[InAttribute] int lSaleId = 0,
[InAttribute] int lAssociateId = 0,
[InAttribute] bool bIsMailMergeDraft = false,
[InAttribute] bool bUseHtmlBrackets = false,
[InAttribute] bool bUrlEncode = false,
[InAttribute] bool bUseHtmlBreak = false
)
Parameters
- SourceString
- Type: SystemString
- lContactId
- Type: SystemInt32
- lPersonId
- Type: SystemInt32
- lProjectId
- Type: SystemInt32
- lSelectionId (Optional)
- Type: SystemInt32
- lAppointmentId (Optional)
- Type: SystemInt32
- lDocumentId (Optional)
- Type: SystemInt32
- lSaleId (Optional)
- Type: SystemInt32
- lAssociateId (Optional)
- Type: SystemInt32
- bIsMailMergeDraft (Optional)
- Type: SystemBoolean
- bUseHtmlBrackets (Optional)
- Type: SystemBoolean
- bUrlEncode (Optional)
- Type: SystemBoolean
- bUseHtmlBreak (Optional)
- Type: SystemBoolean
Return Value
Type:
String
See Also