PexChoose.CreateDelegate<TDelegate> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a delegate of type TDelegate
.
public:
generic <typename TDelegate>
static TDelegate CreateDelegate();
public static TDelegate CreateDelegate<TDelegate> ();
static member CreateDelegate : unit -> 'Delegate
Public Shared Function CreateDelegate(Of TDelegate) () As TDelegate
Type Parameters
- TDelegate
The delegate type.
Returns
TDelegate
Returns the delegate.
Remarks
The delegate cannot support out
or ref
parameters.