GuoidObject Class Content Studio 5.7 SDK
Content Studio Web Content Management System

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

This class is the "high-level" representation of the GUOID field that is used to uniquely identify any Content Studio document, category or unit.
This class cannot be inherited from.
Inheritance Hierarchy

SystemObject
  ContentStudio.DocumentGuoidObject

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

[SerializableAttribute]
public sealed class GuoidObject : ISerializable, 
	IEquatable<GuoidObject>

The GuoidObject type exposes the following members.

Constructors

  NameDescription
Public methodGuoidObject
Initializes a new instance of the GuoidObject class.
Public methodGuoidObject(String)
Initializes a new instance of the GuoidObject class.
Public methodGuoidObject(Int32, Int32, CSFileObjectTypes, Int32)
Initializes a new instance of the GuoidObject class directly from an existing Content Studio document, category or unit.
Top
Properties

  NameDescription
Public propertyValue
Gets or sets the value.
Top
Methods

  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current GuoidObject.
(Overrides ObjectEquals(Object).)
Public methodEquals(GuoidObject)
Determines whether the specified GuoidObject is equal to the current GuoidObject.
Public methodGetHashCode
Serves as a hash function for the current GuoidObject.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString
Returns the String value of the current guoid.
(Overrides ObjectToString.)
Public methodStatic memberTryParse
Converts the string representation of a guoid to GuoidObject equivalent. A return value indicates whether the conversion succeeded.
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic member(String to GuoidObject)
Performs an explicit conversion from String to GuoidObject.
Public operatorStatic memberInequality
Implements the operator !=.
Top
Remarks

A GUOID is a 38 character string that contains a 2 character prefix indicating the type of object that the GUOID represents followed by a series of 36 characters A to F or 1 - 9 Valid prefixes
PrefixUsed by
OKDocuments
KTCategory
UNUnit
It is possible to determine whether the object represents an object installed by the system by looking at its GUOID:
Such an object have their prefixes followed by 36 characters in the format:
00000000G0000G0000GFACAG00000000[0-9][0-9][0-9][0-9] where the last 4 numeric characters indicates the identifier of the document. For example document id 1 has the GUOID: OK00000000G0000G0000GFACAG000000000001
See Also

Reference