adTempus API
ArcanaDevelopment.adTempus.Client Namespace / CustomAction Class / TryGetCustomObjectDefinition Method
On success, contains the object definition


In This Topic
    TryGetCustomObjectDefinition Method (CustomAction)
    In This Topic
    Attempts to get the custom data definition for the custom object.
    Syntax
    'Declaration
     
    
    Public Function TryGetCustomObjectDefinition( _
       ByRef objectDefinition As ICustomObjectSettings _
    ) As Boolean
    public bool TryGetCustomObjectDefinition( 
       out ICustomObjectSettings objectDefinition
    )
    public:
    bool TryGetCustomObjectDefinition( 
       [Out] ICustomObjectSettings^ objectDefinition
    ) 

    Parameters

    objectDefinition
    On success, contains the object definition

    Return Value

    True if the definition was successfully returned, False otherwise.
    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, or the data cannot be deserialized, this method returns False.
    See Also