ConfigurationElement.Schema Propriété

Définition

Obtient le schéma de l’élément actif.

public:
 property Microsoft::Web::Administration::ConfigurationElementSchema ^ Schema { Microsoft::Web::Administration::ConfigurationElementSchema ^ get(); };
public Microsoft.Web.Administration.ConfigurationElementSchema Schema { get; }
member this.Schema : Microsoft.Web.Administration.ConfigurationElementSchema
Public ReadOnly Property Schema As ConfigurationElementSchema

Valeur de propriété

Objet ConfigurationElementSchema qui représente le schéma de l’élément de configuration actuel.

Remarques

L’exemple suivant obtient le schéma à partir de l’objet ConfigurationElement .

PropertyBag elementBag = new PropertyBag();
elementBag[ConfigurationDemoGlobals.SchemaName] = 
    moduleproviderelement.Schema.Name;
elementBag[ConfigurationDemoGlobals.ElementTagName] = 
    moduleproviderelement.ElementTagName;

S’applique à