| ModelExtensionsToGuid Method |
Represents a byte array as a guid.
Namespace:
SanteDB.DisconnectedClient.SQLite
Assembly:
SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax public static Guid? ToGuid(
this byte[] me
)
<ExtensionAttribute>
Public Shared Function ToGuid (
me As Byte()
) As Guid?
public:
[ExtensionAttribute]
static Nullable<Guid> ToGuid(
array<unsigned char>^ me
)
[<ExtensionAttribute>]
static member ToGuid :
me : byte[] -> Nullable<Guid>
Parameters
- me
- Type: SystemByte
Me.
Return Value
Type:
NullableGuidThe GUID.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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