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



C1.WPF Namespace > TypeEx Class > New Method : New<T>(Type,Action<T>) Method
The type.
The initializers.
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, _
   ByVal initializers As Action(Of T) _
) As T
'Usage
 
Dim type As Type
Dim initializers As Action(Of T)
Dim value As T
 
value = TypeEx.New(Of T)(type, initializers)
[Extension()]
public static T New<T>( 
   Type type,
   Action<T> initializers
)
[Extension()]
public:
static T^ Newgeneric<typename T>
( 
   Type^ type,
   Action<T^>^ initializers
) 

Parameters

type
The type.
initializers
The initializers.

Type Parameters

T

Return Value

A new instance of type T
See Also

Reference

TypeEx Class
TypeEx Members
Overload List