ConfigurationElement.Schema Eigenschaft

Definition

Ruft das Schema für das aktuelle Element ab.

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

Eigenschaftswert

Ein ConfigurationElementSchema -Objekt, das das Schema für das aktuelle Konfigurationselement darstellt.

Hinweise

Im folgenden Beispiel wird das Schema aus dem ConfigurationElement -Objekt abgerufen.

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

Gilt für: