CodedIndex.HasCustomAttribute(EntityHandle) Metod

Definition

Beräknar ett HasCustomAttribute-kodat index för den angivna referensen.

public:
 static int HasCustomAttribute(System::Reflection::Metadata::EntityHandle handle);
public static int HasCustomAttribute(System.Reflection.Metadata.EntityHandle handle);
static member HasCustomAttribute : System.Reflection.Metadata.EntityHandle -> int
Public Shared Function HasCustomAttribute (handle As EntityHandle) As Integer

Parametrar

Returer

Undantag

Referenstypen är oväntad.

Gäller för