NamespaceInfo.Namespace 속성

정의

네임스페이스 참조를 가져오거나 설정합니다.

public:
 property System::String ^ Namespace { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("namespace", DefaultValue="", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string Namespace { get; set; }
[<System.Configuration.ConfigurationProperty("namespace", DefaultValue="", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Namespace : string with get, set
Public Property Namespace As String

속성 값

네임스페이스의 이름을 지정하는 문자열입니다.

특성

예제

다음 코드 예제에서는 속성을 사용 하는 방법을 보여 있습니다 Namespace . 이 코드 예제는 클래스에 제공된 더 큰 예제의 PagesSection 일부입니다.

// Set the Namespace property.
namespaceInfo.Namespace = "System.Collections";
' Set the Namespace property.
namespaceInfo.Namespace = "System.Collections"

설명

네임스페이스 참조가 유효한지 확인하기 위해 유효성 검사가 수행되지 않습니다.

적용 대상

추가 정보