CodedIndex.HasCustomAttribute(EntityHandle) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Calcule un index codé HasCustomAttribute pour le handle spécifié.
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
Paramètres
- handle
- EntityHandle
MethodDefinitionHandle, FieldDefinitionHandle, TypeReferenceHandle, TypeDefinitionHandle, ParameterHandle, InterfaceImplementationHandle, MemberReferenceHandle, ModuleDefinitionHandle, DeclarativeSecurityAttributeHandle, PropertyDefinitionHandle, EventDefinitionHandle, StandaloneSignatureHandle, ModuleReferenceHandle, TypeSpecificationHandle, AssemblyDefinitionHandle, AssemblyReferenceHandle, AssemblyFileHandle, ExportedTypeHandle, ManifestResourceHandle, GenericParameterHandle, GenericParameterConstraintHandle ou MethodSpecificationHandle.
Retours
Exceptions
Le type de poignée est inattendu.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour