BinaryDelegate<TArg1,TArg2,TResult> BinaryDelegate<TArg1,TArg2,TResult> BinaryDelegate<TArg1,TArg2,TResult> BinaryDelegate<TArg1,TArg2,TResult> Delegate

Definition

Describes a two-argument delegate. You use it to specify the arguments and return type of the delegate.

generic <typename TArg1, typename TArg2, typename TResult>
public delegate TResult BinaryDelegate(TArg1 A_0, TArg2 A_1);
public delegate TResult BinaryDelegate<TArg1,TArg2,TResult>(TArg1 A_0, TArg2 A_1);
type BinaryDelegate<'TArg1, 'TArg2, 'Result> = delegate of 'TArg1 * 'TArg2 -> 'Result
Public Delegate Function BinaryDelegate(Of TArg1, TArg2, TResult)(A_0 As TArg1, A_1 As TArg2) As TResult 

Type Parameters

TArg1

The first delegate argument.

TArg2

The second delegate argument.

TResult

The return type of the delegate.

Parameters

A_1

The second argument.

A_0

The first argument.

Return Value

TResult

The return type of the delegate.

Inheritance
BinaryDelegate<TArg1,TArg2,TResult>BinaryDelegate<TArg1,TArg2,TResult>BinaryDelegate<TArg1,TArg2,TResult>BinaryDelegate<TArg1,TArg2,TResult>

Remarks

This delegate is the generic equivalent of the STL/CLR binary_delegate class. For more information, see binary_delegate (STL/CLR).

Extension Methods

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to