[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static T CreateInstance<T>(
this Type type,
params Object[] parameters
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function CreateInstance(Of T) (
type As Type,
ParamArray parameters As Object()
) As T
Dim type As Type
Dim parameters As Object()
Dim returnValue As T
returnValue = type.CreateInstance(parameters)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
generic<typename T>
static T CreateInstance(
Type^ type,
... array<Object^>^ parameters
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member CreateInstance :
type : Type *
parameters : Object[] -> 'T
No code example is currently available or this language may not be supported.
[Missing <param name="type"/> documentation for "M:DevCase.Extensions.TypeExtensions.TypeExtensions.CreateInstance``1(System.Type,System.Object[])"]
No code example is currently available or this language may not be supported.
Dim t As Type = GetType(Control)
Dim instance As Control = t.CreateInstance(Of Control)()
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.