This documentation is archived and is not being maintained.
BinaryDelegate(Of TArg1, TArg2, TResult) Delegate
Visual Studio 2008
Describes a two-argument delegate. You use it to specify the arguments and return type of the delegate.
Assembly: Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)
'Declaration Public Delegate Function BinaryDelegate(Of TArg1, TArg2, TResult) ( _ As TArg1, _ As TArg2 _ ) As TResult 'Usage Dim instance As New BinaryDelegate(Of TArg1, TArg2, TResult)(AddressOf HandlerMethod)
Type Parameters
- TArg1
- TArg2
- TResult
Parameters
- Type: TArg1
- Type: TArg2
Return Value
Type: TResultThe return type of the delegate.
This delegate is the generic equivalent of the STL/CLR binary_delegate class. For more information, see binary_delegate (STL/CLR).
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: