| ServiceContainerCreateInstance Method |
Creates an instance the given type and satisfies the constructor dependencies.
Namespace: DigitalRune.ServiceLocationAssembly: DigitalRune.ServiceLocation (in DigitalRune.ServiceLocation.dll) Version: 1.3.0.0 (1.3.0.13596)
Syntax public Object CreateInstance(
Type type
)
Public Function CreateInstance (
type As Type
) As Object
public:
Object^ CreateInstance(
Type^ type
)
member CreateInstance :
type : Type -> Object
Parameters
- type
- Type: SystemType
The type to instantiate.
Return Value
Type:
ObjectA new instance of the requested type.
See Also