Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / InvalidContentControlLevelParentChildException Class / InvalidContentControlLevelParentChildException Constructor
The content control inside wich trying to insert.
The parent content object inside the content control where to insert the child content object.
The allowed child type to insert.

In This Topic
    InvalidContentControlLevelParentChildException Constructor
    In This Topic
    Initializes a new instance of the InvalidContentControlLevelParentChildException class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal contentControl As ContentControl, _
       ByVal parent As ContentObject, _
       ByVal allowedChildType As System.Type _
    )
    public InvalidContentControlLevelParentChildException( 
       ContentControl contentControl,
       ContentObject parent,
       System.Type allowedChildType
    )

    Parameters

    contentControl
    The content control inside wich trying to insert.
    parent
    The parent content object inside the content control where to insert the child content object.
    allowedChildType
    The allowed child type to insert.
    See Also