[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Object CreateInstance(
this Type type,
params Object[] parameters
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function CreateInstance (
type As Type,
ParamArray parameters As Object()
) As Object
Dim type As Type
Dim parameters As Object()
Dim returnValue As Object
returnValue = type.CreateInstance(parameters)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Object^ CreateInstance(
Type^ type,
... array<Object^>^ parameters
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member CreateInstance :
type : Type *
parameters : Object[] -> Object
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(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 = DirectCast(t.CreateInstance(), 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.