Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / InvalidContentControlChildControlException Class / InvalidContentControlChildControlException Constructor
The content control inside wich trying to insert.
The allowed content control type to insert.

In This Topic
    InvalidContentControlChildControlException Constructor
    In This Topic
    Initializes a new instance of the InvalidContentControlChildControlException class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal contentControl As ContentControl, _
       ByVal allowedControlType As ContentControlType _
    )
    public InvalidContentControlChildControlException( 
       ContentControl contentControl,
       ContentControlType allowedControlType
    )

    Parameters

    contentControl
    The content control inside wich trying to insert.
    allowedControlType
    The allowed content control type to insert.
    See Also