Guid
Overview
Guid class to create/hold/convert guids
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Ancestry: ValueType | Guid
constructor protected (declared in ValueType)
constructor
Guid()
init()
Guid()
Sub New()
constructor (^Byte)
constructor(Value: ^Byte)
Guid(Byte* Value)
init(_ Value: UnsafeMutablePointer<Byte>)
Guid(Byte* Value)
Sub New(Value As Ptr(Of Byte))
Parameters:
- Value:
constructor (array [0..15] of Byte)
constructor(Value: array [0..15] of Byte)
Guid(array [0..15] of Byte Value)
init(_ Value: array [0..15] of Byte)
Guid(array [0..15] of Byte Value)
Sub New(Value As array [0..15] of Byte)
Parameters:
- Value:
constructor (array of Byte)
constructor(Value: array of Byte)
Guid(Byte[] Value)
init(_ Value: Byte...)
Guid(Byte[] Value)
Sub New(Value As Byte())
Parameters:
- Value:
constructor (String)
constructor(Value: String)
Guid(String Value)
init(_ Value: String)
Guid(String Value)
Sub New(Value As String)
Parameters:
- Value:
Empty
class property Empty: Guid read;
class Guid Empty { get; }
static var Empty: Guid { get{} }
class Guid Empty { __get; }
Shared ReadOnly Property Empty() As Guid
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Returns true if the target object matches this one, by default compares the reference.
Parameters:
- obj:
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
NewGuid
Returns a new random guid.
class method NewGuid: Guid
static Guid NewGuid()
static func NewGuid() -> Guid
static Guid NewGuid()
Shared Function NewGuid() As Guid
Parse
Parse a guid from a string.
Parameters:
- Value:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
ToByteArray
gets the byte[] equivalent of a guid.
method ToByteArray: array of Byte
Byte[] ToByteArray()
func ToByteArray() -> Byte...
Byte[] ToByteArray()
Function ToByteArray() As Byte()
ToString override virtual
Converts a guid to a string
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Parameters:
- Format:
TryParse
Parse a guid from a string, returns true on success.
Parameters:
- Value:
- aResult:
Empty
NewGuid
Returns a new random guid.
class method NewGuid: Guid
static Guid NewGuid()
static func NewGuid() -> Guid
static Guid NewGuid()
Shared Function NewGuid() As Guid
Parse
Parse a guid from a string.
Parameters:
- Value:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
TryParse
Parse a guid from a string, returns true on success.
Parameters:
- Value:
- aResult:
constructor protected (declared in ValueType)
constructor
Guid()
init()
Guid()
Sub New()
constructor (^Byte)
constructor(Value: ^Byte)
Guid(Byte* Value)
init(_ Value: UnsafeMutablePointer<Byte>)
Guid(Byte* Value)
Sub New(Value As Ptr(Of Byte))
Parameters:
- Value:
constructor (array [0..15] of Byte)
constructor(Value: array [0..15] of Byte)
Guid(array [0..15] of Byte Value)
init(_ Value: array [0..15] of Byte)
Guid(array [0..15] of Byte Value)
Sub New(Value As array [0..15] of Byte)
Parameters:
- Value:
constructor (array of Byte)
constructor(Value: array of Byte)
Guid(Byte[] Value)
init(_ Value: Byte...)
Guid(Byte[] Value)
Sub New(Value As Byte())
Parameters:
- Value:
constructor (String)
constructor(Value: String)
Guid(String Value)
init(_ Value: String)
Guid(String Value)
Sub New(Value As String)
Parameters:
- Value:
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Returns true if the target object matches this one, by default compares the reference.
Parameters:
- obj:
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ToByteArray
gets the byte[] equivalent of a guid.
method ToByteArray: array of Byte
Byte[] ToByteArray()
func ToByteArray() -> Byte...
Byte[] ToByteArray()
Function ToByteArray() As Byte()
ToString override virtual
Converts a guid to a string
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Parameters:
- Format: