GuidExtensionsIsNullOrEmpty Method |
Determines whether a GUID is null or empty.
Namespace:
Xcalibur.Extensions
Assembly:
Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax public static bool IsNullOrEmpty(
this Nullable<Guid> target
)
<ExtensionAttribute>
Public Shared Function IsNullOrEmpty (
target As Nullable(Of Guid)
) As Boolean
public:
[ExtensionAttribute]
static bool IsNullOrEmpty(
Nullable<Guid> target
)
[<ExtensionAttribute>]
static member IsNullOrEmpty :
target : Nullable<Guid> -> bool
Parameters
- target
- Type: SystemNullableGuid
The target.
Return Value
Type:
Booleantrue if [is null or empty] [the specified target]; otherwise,
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
NullableGuid. 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