NetForumIdExtensionsToGuid Method
Converts an instance of a NetForumId to a Guid. Null references will result in an exception.
Namespace: Ignition.FrameworkAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public static Guid ToGuid(
this NetForumId netForumId
)
<ExtensionAttribute>
Public Shared Function ToGuid (
netForumId As NetForumId
) As Guid
public:
[ExtensionAttribute]
static Guid ToGuid(
NetForumId^ netForumId
)
[<ExtensionAttribute>]
static member ToGuid :
netForumId : NetForumId -> Guid
- netForumId NetForumId
- A non-null reference to a NetForumId, to convert to a Guid
GuidA Guid representing the provided NetForumIdIn 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).
If there is any possibility that netForumId will be null, do not use this method.
Instead, either manually handle null values before calling this method, or cast the NetForumId to a nullable Guid instead.