System.Object
ObjectReference
Client Declaration
public class ObjectReference
Represents information that identifies an independent Content Engine object. An independent object is instantiated from a subclass of the IndependentObject
class. It is addressable and has a unique identity by which it
can be referenced for retrieval or update.
Attributes
String
classId
:
String
objectId
:
EntireNetwork
objects and query result rows) expression specifying the GUID
of an object. Exceptions apply for the following object types:
Realm
: The name of the realm must be specified. Group
or User
: The principal name of the group or user must be specified.ClassDescription
: The symbolic name of an object's class can be specified instead of an object's GUID. EntireNetwork
objects and query result rows) expression specifying the GUID
of an object. Exceptions apply for the following object types:
Realm
: The name of the realm must be specified. Group
or User
: The principal name of the group or user must be specified.String
objectStore
:
Boolean
serializationDuplicate
: [response] Optional expression specifying whether this ObjectReference
element has resulted from duplicate object suppression (true
) or not (false
). (Duplicate object suppression causes an ObjectReference
element to be returned in a response instead of an ObjectValue
element.) For more information about duplicate object suppression, see Duplicate Object Suppression.Attributes Specific to .NET Clients
Boolean
serializationDuplicateSpecified
: Optional expression specifying whether serializationDuplicate
has a value (true
) or not (false
).
// Create an object reference to the root folder ObjectReference objRootFolder = new ObjectReference(); //Specify its class, object ID, and object store objRootFolder.classId = "Folder"; objRootFolder.objectId = "{0F1E2D3C-4B5A-6978-8796-A5B4C3D2E1F0}"; objRootFolder.objectStore = "MyObjectStore";
<xsd:complexType name="ObjectReference"> <xsd:complexContent> <xsd:extension base="WithObjectIdentityType"/> </xsd:complexContent> </xsd:complexType>