DynamicInterface.Create Method (Type, Object[])
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Utility.Plugin
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)
Usage
'Usage
Dim instance As DynamicInterface
Dim tInterface As Type
Dim instances As Object()
Dim returnValue As Object
returnValue = instance.Create(tInterface, instances)
Syntax
'Declaration
Public Function Create ( _
tInterface As Type, _
ParamArray instances As Object() _
) As Object
public Object Create (
Type tInterface,
params Object[] instances
)
public:
Object^ Create (
Type^ tInterface,
... array<Object^>^ instances
)
public Object Create (
Type tInterface,
Object[] instances
)
public function Create (
tInterface : Type,
... instances : Object[]
) : Object
Parameters
- tInterface
- instances
Return Value
Returns Object.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
DynamicInterface Class
DynamicInterface Members
Microsoft.OneGet.Utility.Plugin Namespace