다음을 통해 공유


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;

적용 대상