ConfigurationElement.Schema Propiedad

Definición

Obtiene el esquema del elemento actual.

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

Valor de propiedad

Objeto ConfigurationElementSchema que representa el esquema del elemento de configuración actual.

Comentarios

En el ejemplo siguiente se obtiene el esquema del ConfigurationElement objeto .

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

Se aplica a