ComponentOne FinancialChart for WPF
New<T>(Type) Method



C1.WPF Namespace > TypeEx Class > New Method : New<T>(Type) Method
The type.
Creates a new instance of this type using the default constructor.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function New(Of T)( _
   ByVal type As Type _
) As T
'Usage
 
Dim type As Type
Dim value As T
 
value = TypeEx.New(Of T)(type)
[Extension()]
public static T New<T>( 
   Type type
)
[Extension()]
public:
static T^ Newgeneric<typename T>
( 
   Type^ type
) 

Parameters

type
The type.

Type Parameters

T

Return Value

A new instance of type T.
See Also

Reference

TypeEx Class
TypeEx Members
Overload List