[This is preliminary documentation and is subject to change.]
Universal delegate of function with 1 argument
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>( T1 arg1 ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ <ObsoleteAttribute("Use System.Func instead")> _ Public Delegate Function dFunction(Of TRet, T1) ( _ arg1 As T1 _ ) As TRet |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Never)] [ObsoleteAttribute(L"Use System.Func instead")] generic<typename TRet, typename T1> public delegate TRet dFunction( T1 arg1 ) |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>] [<ObsoleteAttribute("Use System.Func instead")>] type dFunction = delegate of arg1:'T1 -> 'TRet |
| JScript |
|---|
|
Parameters
- arg1
- Type: T1
First argument
Type Parameters
- TRet
- Type of return value
- T1
- Type of first argument