ConfigurationElement.Schema Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the schema for the current element.
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
Property Value
A ConfigurationElementSchema object that represents the schema for the current configuration element.
Remarks
The following example gets the schema from the ConfigurationElement object.
PropertyBag elementBag = new PropertyBag();
elementBag[ConfigurationDemoGlobals.SchemaName] =
moduleproviderelement.Schema.Name;
elementBag[ConfigurationDemoGlobals.ElementTagName] =
moduleproviderelement.ElementTagName;