Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / InvalidContentControlParentChildException Class / InvalidContentControlParentChildException Constructor / InvalidContentControlParentChildException Constructor(ContentControl,ContentObject,Type)
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
    InvalidContentControlParentChildException Constructor(ContentControl,ContentObject,Type)
    In This Topic
    Initializes a new instance of the InvalidContentControlParentChildException class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal contentControl As ContentControl, _
       ByVal parent As ContentObject, _
       ByVal allowedChildType As System.Type _
    )
    public InvalidContentControlParentChildException( 
       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