[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Object CreateInstance(
this Type type
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function CreateInstance (
type As Type
) As Object
Dim type As Type
Dim returnValue As Object
returnValue = type.CreateInstance()
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Object^ CreateInstance(
Type^ type
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member CreateInstance :
type : Type -> 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)"]
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.