Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document Namespace / Utils Class / GetParameterlessCtor Method
The type.

In This Topic
    GetParameterlessCtor Method (Utils)
    In This Topic
    Returns default instance parameter-less constructor for the specified type.
    Syntax
    'Declaration
     
    Public Shared Function GetParameterlessCtor( _
       ByVal type As Type _
    ) As ConstructorInfo
    public static ConstructorInfo GetParameterlessCtor( 
       Type type
    )

    Parameters

    type
    The type.

    Return Value

    The default constructor for the specified type if it exists; Null otherwise.
    See Also