Click or drag to resize

UserID Structure

Represents a User ID

Namespace:  ImmerseSDK.Sessions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
[SerializableAttribute]
public struct UserID : IComparable, IComparable<UserID>, 
	IEquatable<UserID>

The UserID type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAsInt32
The int32 representation of the user id
Public methodAsMessageID
Construct a MessageID from this UserID
Public methodAsUInt32
The int32 representation of the user id
Public methodCompareTo(Object)
Compares two UserID objects by comparing the byte representation of the user id
Public methodCompareTo(UserID)
Compares two UserID objects by comparing the byte representation of the user id
Public methodEquals(Object)
Equality operator - compares the byte representation of the user id
(Overrides ValueTypeEquals(Object).)
Public methodEquals(UserID)
Checks equality by comparing the byte representation of the user id
Public methodGetBytes
Returns the underlying byte array
Public methodGetHashCode
The hashcode of the bytes that represents the user id
(Overrides ValueTypeGetHashCode.)
Public methodToString
The string representation of the user id
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator - compares the byte representation of the user id
Public operatorStatic memberInequality
Inequality operator - compares the byte representation of the user id
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
The Empty (0) user id constant
Top
See Also