UnitId Structure Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

This class is used for identification of Content Studio units.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

[SerializableAttribute]
[TypeConverterAttribute(typeof(UnitIdConverter))]
public struct UnitId : IUserSessionObject, IIdentifier, 
	IConvertible, IEquatable<UnitId>

The UnitId type exposes the following members.

Constructors

  NameDescription
Public methodUnitId(Int32)
Initializes a new instance of the UnitId class.
Public methodUnitId(String)
Initializes a new instance of the UnitId class.
Public methodUnitId(GuoidObject)
Initializes a new instance of the UnitId class.
Public methodUnitId(ConnectionId, SessionId, GuoidObject)
Initializes a new instance of the UnitId class.
Public methodUnitId(ConnectionId, SessionId, Int32)
Initializes a new instance of the UnitId class.
Public methodUnitId(ConnectionId, SessionId, String)
Initializes a new instance of the UnitId class.
Top
Properties

  NameDescription
Public propertyConnectionId
Gets or sets the connection id.
Public propertyGuoid
Gets or sets the guoid.
Public propertyHasValue
Gets a value indicating whether this instance has value specified.
Public propertyId
Gets or sets the unit id.
Public propertyIsResolved
Gets a value indicating whether this instance is resolved and Path, Id and Guoid contains values.
Public propertyPath
Gets or sets the path to the unit.
Public propertySessionId
Gets or sets the session id.
Top
Methods

  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(UnitId)
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberFromGuoid
Creates a new UnitId from its GuoidObject representation.
Public methodStatic memberFromInt32
Creates a new UnitId from its Int32 representation.
Public methodStatic memberFromPath
Creates a new UnitId from its path representation.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodInvalidateCache
Invalidates the cache.
Public methodToString
Returns a String that represents the current Object.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns a String that represents this instance.
Public methodStatic memberTryParse
Converts the string representation of a number to its UnitId equivalent. A return value indicates whether the operation succeeded.
Top
Operators

  NameDescription
Public operatorStatic member(Int32 to UnitId)
Performs an implicit conversion from Int32 to UnitId.
Public operatorStatic member(String to UnitId)
Performs an implicit conversion from String to UnitId.
Public operatorStatic member(GuoidObject to UnitId)
Performs an implicit conversion from GuoidObject to UnitId.
Public operatorStatic member(UnitId to Int32)
Performs an implicit conversion from UnitId to Int32.
Public operatorStatic member(UnitId to GuoidObject)
Performs an implicit conversion from UnitId to GuoidObject.
Top
See Also

Reference