[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.InvalidContentControlParentChildException.-ctor

InvalidContentControlParentChildException Constructor

InvalidContentControlParentChildException(ContentControl, ContentObject, Type)

Initializes a new instance of the InvalidContentControlParentChildException class.

Declaration
public InvalidContentControlParentChildException(ContentControl contentControl, ContentObject parent, Type allowedChildType)
Public Sub New(contentControl As ContentControl, parent As ContentObject, allowedChildType As Type)
Parameters
Type Name Description
ContentControl contentControl

The content control inside wich trying to insert.

ContentObject parent

The parent content object inside the content control where to insert the child content object.

Type allowedChildType

The allowed child type to insert.

InvalidContentControlParentChildException(ContentControl, ContentObject, Type[])

Initializes a new instance of the InvalidContentControlParentChildException class.

Declaration
public InvalidContentControlParentChildException(ContentControl contentControl, ContentObject parent, Type[] allowedChildTypes)
Public Sub New(contentControl As ContentControl, parent As ContentObject, allowedChildTypes As Type())
Parameters
Type Name Description
ContentControl contentControl

The content control inside wich trying to insert.

ContentObject parent

The parent content object inside the content control where to insert the child content object.

Type[] allowedChildTypes

The allowed child types to insert.