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


In This Topic
    CustomObjectDefinition Property (CustomAction)
    In This Topic
    Gets or sets the custom data definition for the custom object.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Property CustomObjectDefinition As ICustomObjectSettings
    [CanBeNull()]
    public ICustomObjectSettings CustomObjectDefinition {get; set;}
    [CanBeNull()]
    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