ExtensionMethodsPaddingCounterToString Method |
Converts the specified int to string if it's larger than 0, otherwise it will return the empty string. Usable for padding counters
Namespace: SD.LLBLGen.Pro.CoreAssembly: SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static string PaddingCounterToString(
this int paddingCounter
)
<ExtensionAttribute>
Public Shared Function PaddingCounterToString (
paddingCounter As Integer
) As String
Parameters
- paddingCounter
- Type: SystemInt32
The padding counter.
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Int32. 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