DynamicInterface.IsInstanceCompatible 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
Dim instance As DynamicInterface
Dim tInterface As Type
Dim instances As Object()
Dim returnValue As Boolean

returnValue = instance.IsInstanceCompatible(tInterface, instances)

public bool IsInstanceCompatible (
	Type tInterface,
	params Object[] instances
)
public boolean IsInstanceCompatible (
	Type tInterface, 
	Object[] instances
)
public function IsInstanceCompatible (
	tInterface : Type, 
	... instances : Object[]
) : boolean

Parameters

tInterface

instances

Return Value

Returns Boolean.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: