Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / InvalidParentContentException Class / InvalidParentContentException Constructor / InvalidParentContentException Constructor(ContentObject,ContentControlLevel)
The ContentObject to insert.
The parent content control level.

In This Topic
    InvalidParentContentException Constructor(ContentObject,ContentControlLevel)
    In This Topic
    Initializes a new instance of the InvalidParentContentException class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal content As ContentObject, _
       ByVal parentLevel As ContentControlLevel _
    )
    public InvalidParentContentException( 
       ContentObject content,
       ContentControlLevel parentLevel
    )

    Parameters

    content
    The ContentObject to insert.
    parentLevel
    The parent content control level.
    See Also