ConfigurationElement.Schema 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得目前專案的架構。
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;