ImportMetadataConstraintAttribute Classe

Definizione

Specifica che un'importazione richiede determinati valori di metadati.

public ref class ImportMetadataConstraintAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, Inherited=false)]
public sealed class ImportMetadataConstraintAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, Inherited=false)>]
type ImportMetadataConstraintAttribute = class
    inherit Attribute
Public NotInheritable Class ImportMetadataConstraintAttribute
Inherits Attribute
Ereditarietà
ImportMetadataConstraintAttribute
Attributi

Costruttori

Nome Descrizione
ImportMetadataConstraintAttribute(String, Object)

Inizializza una nuova istanza della classe ImportMetadataConstraintAttribute.

Proprietà

Nome Descrizione
Name

Ottiene la chiave di metadati da trovare.

Value

Ottiene il valore dei metadati da trovare.

Metodi

Nome Descrizione
Equals(Object)

Restituisce un valore che indica se questa istanza è uguale a un oggetto specificato.

(Ereditato da Attribute)
GetHashCode()

Restituisce il codice hash per questa istanza.

(Ereditato da Attribute)
GetType()

Ottiene il Type dell'istanza corrente.

(Ereditato da Object)
MemberwiseClone()

Crea una copia superficiale del Objectcorrente.

(Ereditato da Object)
ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.

(Ereditato da Object)

Si applica a