WrappedDelegate.GetFuncOrActionType Method

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 argTypes As IEnumerable(Of Type)
Dim returnType As Type
Dim returnValue As Type

returnValue = WrappedDelegate.GetFuncOrActionType(argTypes, returnType)

Syntax

'Declaration
Public Shared Function GetFuncOrActionType ( _
    argTypes As IEnumerable(Of Type), _
    returnType As Type _
) As Type
public static Type GetFuncOrActionType (
    IEnumerable<Type> argTypes,
    Type returnType
)
public:
static Type^ GetFuncOrActionType (
    IEnumerable<Type^>^ argTypes, 
    Type^ returnType
)
public static Type GetFuncOrActionType (
    IEnumerable<Type> argTypes, 
    Type returnType
)
public static function GetFuncOrActionType (
    argTypes : IEnumerable<Type>, 
    returnType : Type
) : Type

Parameters

  • argTypes
  • returnType

Return Value

Returns Type.

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

WrappedDelegate Class
WrappedDelegate Members
Microsoft.OneGet.Utility.Plugin Namespace