DynamicInterface.IsTypeCompatible Method (Type, Type[])
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 types As Type()
Dim returnValue As Boolean
returnValue = instance.IsTypeCompatible(tInterface, types)
Syntax
'Declaration
Public Function IsTypeCompatible ( _
tInterface As Type, _
ParamArray types As Type() _
) As Boolean
public bool IsTypeCompatible (
Type tInterface,
params Type[] types
)
public:
bool IsTypeCompatible (
Type^ tInterface,
... array<Type^>^ types
)
public boolean IsTypeCompatible (
Type tInterface,
Type[] types
)
public function IsTypeCompatible (
tInterface : Type,
... types : Type[]
) : boolean
Parameters
- tInterface
- types
Return Value
Returns Boolean.
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