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 , TArg2 );
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 , TArg2 );
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)( As TArg1,  As TArg2) As TResult 
Public Delegate Function BinaryDelegate(Of TArg1, TArg2, TResult)(A_0 As TArg1, A_1 As TArg2) As TResult 

Type Parameters

TArg1

The type of the first delegate argument.

TArg2

The type of the second delegate argument.

TResult

The return type of the delegate.

Parameters

A_0
TArg1
A_1
TArg2

Return Value

TResult

The return type of the delegate.

Inheritance
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)

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

Applies to