CallSiteOps.GetRules<T>(CallSite<T>) Metod

Definition

Varning

do not use this method

Hämtar reglerna för dynamisk bindning från anropswebbplatsen.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

public:
generic <typename T>
 where T : class static cli::array <T> ^ GetRules(System::Runtime::CompilerServices::CallSite<T> ^ site);
[System.Obsolete("do not use this method", true)]
public static T[] GetRules<T>(System.Runtime.CompilerServices.CallSite<T> site) where T : class;
[<System.Obsolete("do not use this method", true)>]
static member GetRules : System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> -> 'T[] (requires 'T : null)
Public Shared Function GetRules(Of T As Class) (site As CallSite(Of T)) As T()

Typparametrar

T

Typen av ombud för CallSite.

Parametrar

site
CallSite<T>

En instans av den dynamiska anropswebbplatsen.

Returer

T[]

En matris med dynamiska bindningsregler.

Attribut

Gäller för