NetForumIdExtensionsSafeToString Method

Converts a null reference or an instance of a NetForumId to a string. Null references will be converted to empty strings.

Definition

Namespace: Ignition.Framework
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public static string SafeToString(
	this NetForumId netForumId
)

Parameters

netForumId  NetForumId
A null reference or NetForumId to convert to a string

Return Value

String
If netForumId is non-null, a string representation of the netFORUM id; otherwise an empty string

Usage Note

In 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).

See Also