CategoryId 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 categories.

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

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

The CategoryId type exposes the following members.

Constructors

  NameDescription
Public methodCategoryId(Int32)
Initializes a new instance of the CategoryId class.
Public methodCategoryId(String)
Initializes a new instance of the CategoryId class.
Public methodCategoryId(GuoidObject)
Initializes a new instance of the CategoryId class.
Public methodCategoryId(ConnectionId, SessionId, GuoidObject)
Initializes a new instance of the CategoryId class.
Public methodCategoryId(ConnectionId, SessionId, Int32)
Initializes a new instance of the CategoryId class.
Public methodCategoryId(ConnectionId, SessionId, String)
Initializes a new instance of the CategoryId 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 category 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 category.
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(CategoryId)
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberFromGuoid
Creates a CategoryId from a guoid.
Public methodStatic memberFromInt32
Creates a CategoryId from an Int32.
Public methodStatic memberFromPath
Creates a CategoryId from a path.
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 CategoryId equivalent. A return value indicates whether the operation succeeded.
Top
Operators

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

Reference