Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / InvalidParentContentException Class / InvalidParentContentException Constructor / InvalidParentContentException Constructor(ContentObject,Type)
The ContentObject to insert.
The parent content type.

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

    Parameters

    content
    The ContentObject to insert.
    parent
    The parent content type.
    See Also