[This is preliminary documentation and is subject to change.]
Universal delegate of function with 2 arguments
Namespace: ToolsAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [ObsoleteAttribute("Use System.Func instead")] public delegate TRet dFunction<TRet, T1, T2>( T1 arg1, T2 arg2 ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ <ObsoleteAttribute("Use System.Func instead")> _ Public Delegate Function dFunction(Of TRet, T1, T2) ( _ arg1 As T1, _ arg2 As T2 _ ) As TRet |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Never)] [ObsoleteAttribute(L"Use System.Func instead")] generic<typename TRet, typename T1, typename T2> public delegate TRet dFunction( T1 arg1, T2 arg2 ) |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>] [<ObsoleteAttribute("Use System.Func instead")>] type dFunction = delegate of arg1:'T1 * arg2:'T2 -> 'TRet |
| JScript |
|---|
|
Parameters
- arg1
- Type: T1
First argument
- arg2
- Type: T2
Second argument
Type Parameters
- TRet
- Type of return value
- T1
- Type of first argument
- T2
- Type of second argument