ComponentOne FinancialChart for WPF
C1.WPF Namespace / TypeEx Class / New Method / New(Type) Method
The type.



In This Topic
    New(Type) Method
    In This Topic
    Creates a new instance of this type using the default constructor.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Function New( _
       ByVal type As Type _
    ) As Object
    'Usage
     
    
    Dim type As Type
    Dim value As Object
     
    value = TypeEx.New(type)
    [Extension()]
    public static object New( 
       Type type
    )
    [Extension()]
    public:
    static Object^ New( 
       Type^ type
    ) 

    Parameters

    type
    The type.

    Return Value

    A new instance of type T.
    See Also