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

returnValue = instance.IsInstanceCompatible(instances)

Syntax

'Declaration
Public Function IsInstanceCompatible(Of TInterface) ( _
    ParamArray instances As Object() _
) As Boolean
public bool IsInstanceCompatible<TInterface> (
    params Object[] instances
)
public:
generic<typename TInterface>
bool IsInstanceCompatible (
    ... array<Object^>^ instances
)

GenericParameters

  • TInterface

Parameters

  • instances

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