ExtensionMethodsAppendFragment Method |
Appends the fragment specified to the string builder specified. If fragment results in a string fragment with a length > 0, prefix is appended first.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax public static StringBuilder AppendFragment(
this StringBuilder toAppendTo,
Object fragment,
string prefix
)
<ExtensionAttribute>
Public Shared Function AppendFragment (
toAppendTo As StringBuilder,
fragment As Object,
prefix As String
) As StringBuilder
Parameters
- toAppendTo
- Type: System.TextStringBuilder
To append to. - fragment
- Type: SystemObject
The fragment. - prefix
- Type: SystemString
The prefix. Appended before fragment, only if fragment is a string fragment with a length > 0.
Return Value
Type:
StringBuilderUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also