Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (41 sloc) 2.38 KB
<Type Name="UnaryDelegate&lt;TArg,TResult&gt;" FullName="Microsoft.VisualC.StlClr.UnaryDelegate&lt;TArg,TResult&gt;">
<TypeSignature Language="C#" Value="public delegate TResult UnaryDelegate&lt;TArg,TResult&gt;(TArg A_0);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit UnaryDelegate`2&lt;TArg, TResult&gt; extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:Microsoft.VisualC.StlClr.UnaryDelegate`2" />
<TypeSignature Language="VB.NET" Value="Public Delegate Function UnaryDelegate(Of TArg, TResult)(A_0 As TArg) As TResult " />
<TypeSignature Language="C++ CLI" Value="generic &lt;typename TArg, typename TResult&gt;&#xA;public delegate TResult UnaryDelegate(TArg A_0);" />
<TypeSignature Language="F#" Value="type UnaryDelegate&lt;'Arg, 'Result&gt; = delegate of 'Arg -&gt; 'Result" />
<AssemblyInfo>
<AssemblyName>Microsoft.VisualC.STLCLR</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TArg" />
<TypeParameter Name="TResult" />
</TypeParameters>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="" Type="TArg" Index="0" FrameworkAlternate="netframework-3.5;netframework-4.0" />
<Parameter Name="A_0" Type="TArg" Index="0" FrameworkAlternate="netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<ReturnValue>
<ReturnType>TResult</ReturnType>
</ReturnValue>
<Docs>
<typeparam name="TArg">The type of the delegate argument.</typeparam>
<typeparam name="TResult">The return type of the delegate.</typeparam>
<param name="">The delegate argument.</param>
<param name="A_0">The delegate argument.</param>
<summary>Describes a one-argument delegate. You use it to specify the argument and return type of the delegate.</summary>
<returns>The return type of the delegate.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This delegate is the generic equivalent of the STL/CLR `unary_delegate` class. For more information, see [unary_delegate (STL/CLR)](/cpp/dotnet/unary-delegate-stl-clr).
]]></format>
</remarks>
</Docs>
</Type>
You can’t perform that action at this time.