UnaryDelegate<TArg, TResult> Delegate

Describes a one-argument delegate. You use it to specify the argument and return type of the delegate.

Namespace:  Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

public delegate TResult UnaryDelegate<TArg, TResult>(
	TArg 
)

Type Parameters

TArg
TResult

Parameters

Type: TArg

Return Value

Type: TResult
The return type of the delegate.

This delegate is the generic equivalent of the STL/CLR unary_delegate class. For more information, see unary_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.

.NET Framework

Supported in: 3.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft