System.Object
SingletonObject
Client Declaration
public class SingletonObject
Represents a Content Engine property that holds a single Content Engine object value.
Elements
ObjectEntryType
Value
:
Optional element specifying the object value held by the property.
ObjectReference
or ObjectSpecification
Unevaluated
ObjectReference
ObjectValue
Unevaluated
RetrievalError
Attributes
String
propertyId
:
Boolean
settable
: [response] Optional expression specifying whether
the specified Content Engine property is settable by the user (true
) or not (false
). If true
, this attribute's value is "1"; otherwise, this attribute is omitted in the response.Attributes Specific to .NET Clients
Boolean
settableSpecified
: Optional expression specifying whether settable
has a value (true
) or not (false
).
// Specify and set an object-valued property for the Parent property SingletonObject propParent = new SingletonObject(); propParent.propertyId = "Parent";
// Set its value to an object reference propParent.Value = (ObjectEntryType)objRef;
<xsd:complexType name="SingletonObject"> <xsd:complexContent> <xsd:extension base="ModifiablePropertyType"> <xsd:sequence> <xsd:element name="Value" type="ObjectEntryType" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType>