adTempus API
ArcanaDevelopment.adTempus.Client Namespace / CustomTrigger Class / CustomObjectDefinition Property


In This Topic
    CustomObjectDefinition Property (CustomTrigger)
    In This Topic
    Gets or sets the custom data definition for the custom object.
    Syntax
    'Declaration
     
    
    Public Property CustomObjectDefinition As ICustomObjectSettings
    public ICustomObjectSettings CustomObjectDefinition {get; set;}
    public:
    property ICustomObjectSettings^ CustomObjectDefinition {
       ICustomObjectSettings^ get();
       void set (    ICustomObjectSettings^ value);
    }
    Exceptions
    ExceptionDescription
    Thrown if the extension class needed to read the definition is not installed on this computer. See Remarks.
    Remarks
    The data definition is stored by adTempus in serialized form. When you request it using by reading the CustomObjectDefinition property, adTempus loads the add-in defined for the object, deserializes the data, and returns the add-in object. If the add-in cannot be loaded, an ExtensionTypeNotFoundException is thrown. To avoid the exception in this case, use TryGetCustomObjectDefinition instead.
    See Also