NetForumIdExtensionsSafeToString Method
Converts a null reference or an instance of a NetForumId to a string. Null references will be converted to empty strings.
Namespace: Ignition.FrameworkAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public static string SafeToString(
this NetForumId netForumId
)
<ExtensionAttribute>
Public Shared Function SafeToString (
netForumId As NetForumId
) As String
public:
[ExtensionAttribute]
static String^ SafeToString(
NetForumId^ netForumId
)
[<ExtensionAttribute>]
static member SafeToString :
netForumId : NetForumId -> string
- netForumId NetForumId
- A null reference or NetForumId to convert to a string
StringIf
netForumId is non-null, a string representation of the netFORUM id; otherwise an empty stringIn Visual Basic and C#, you can call this method as an instance method on any object of type
NetForumId. 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).