共用方式為


ConfigurationElement.Schema 屬性

定義

取得目前專案的架構。

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

屬性值

ConfigurationElementSchema物件,表示目前組態專案的架構。

備註

下列範例會從 ConfigurationElement 物件取得架構。

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

適用於