NameScopePropertyAttribute Constructeurs
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.
Initialise une nouvelle instance de la classe NameScopePropertyAttribute.
Surcharges
| Nom | Description |
|---|---|
| NameScopePropertyAttribute(String) |
Initialise une nouvelle instance de la NameScopePropertyAttribute classe avec le nom spécifié. |
| NameScopePropertyAttribute(String, Type) |
Initialise une nouvelle instance de la NameScopePropertyAttribute classe avec le nom et le type spécifiés. |
NameScopePropertyAttribute(String)
Initialise une nouvelle instance de la NameScopePropertyAttribute classe avec le nom spécifié.
public:
NameScopePropertyAttribute(System::String ^ name);
public NameScopePropertyAttribute(string name);
new System.Windows.Markup.NameScopePropertyAttribute : string -> System.Windows.Markup.NameScopePropertyAttribute
Public Sub New (name As String)
Paramètres
- name
- String
Nom de la propriété sur le type attribué qui fournit le namescope XAML.
S’applique à
NameScopePropertyAttribute(String, Type)
Initialise une nouvelle instance de la NameScopePropertyAttribute classe avec le nom et le type spécifiés.
public:
NameScopePropertyAttribute(System::String ^ name, Type ^ type);
public NameScopePropertyAttribute(string name, Type type);
new System.Windows.Markup.NameScopePropertyAttribute : string * Type -> System.Windows.Markup.NameScopePropertyAttribute
Public Sub New (name As String, type As Type)
Paramètres
- name
- String
Nom du membre pouvant être attaché qui fournit l’étendue du nom XAML.
- type
- Type
Type de propriétaire du membre pouvant être attaché qui fournit l’étendue du nom XAML.