Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ContentObject Class / CanAdd Method / CanAdd(Type) Method
The type of the content object to add.

In This Topic
    CanAdd(Type) Method
    In This Topic
    Checks whether a ContentObject of the specified type can be added to the current object.
    Syntax
    'Declaration
     
    Public Overloads Function CanAdd( _
       ByVal contentObjectType As System.Type _
    ) As System.Boolean
    public System.bool CanAdd( 
       System.Type contentObjectType
    )

    Parameters

    contentObjectType
    The type of the content object to add.

    Return Value

    true if a content object of the specified type can be added, false otherwise.
    See Also