Share via


StatementBuilder.AddElement Method

Adds the value to a string builder using the specified delimiters. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Protected Friend Shared Sub AddElement ( _
    str As StringBuilder, _
    value As String, _
    delimStart As String, _
    delimEnd As String, _
    delimElems As String _
)
'Usage
Dim str As StringBuilder
Dim value As String
Dim delimStart As String
Dim delimEnd As String
Dim delimElems As String

StatementBuilder.AddElement(str, value, delimStart, _
    delimEnd, delimElems)
protected internal static void AddElement(
    StringBuilder str,
    string value,
    string delimStart,
    string delimEnd,
    string delimElems
)
protected public:
static void AddElement(
    StringBuilder^ str, 
    String^ value, 
    String^ delimStart, 
    String^ delimEnd, 
    String^ delimElems
)
static member AddElement : 
        str:StringBuilder * 
        value:string * 
        delimStart:string * 
        delimEnd:string * 
        delimElems:string -> unit 
 static function AddElement(
    str : StringBuilder, 
    value : String, 
    delimStart : String, 
    delimEnd : String, 
    delimElems : String
)

Parameters

  • value
    Type: System.String
    The value of the element to be added.