Create an instance of certain object, then cast it to the given generic argument.
WARN: This method does not support T having multiple ctor() overloads with same number of parameters.
Namespace: Cartella.SupportAssembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
public static T Create<T>(
Object[] parameters,
Type type
)
where T : class
|
Visual Basic |
---|
Public Shared Function Create(Of T As Class) ( _
parameters As Object(), _
type As Type _
) As T |
Visual C++ |
---|
public:
generic<typename T>
where T : ref class
static T Create(
array<Object^>^ parameters,
Type^ type
) |
Type Parameters
Return Value
Instance
See Also