XmlnsDictionary.LookupNamespace(String) 메서드
정의
지정된 XAML 네임스페이스 접두사에 해당하는 XML 네임스페이스 URI를 반환합니다.Returns the XAML namespace URI that corresponds to the specified XML namespace prefix.
public:
System::String ^ LookupNamespace(System::String ^ prefix);
public string LookupNamespace (string prefix);
member this.LookupNamespace : string -> string
Public Function LookupNamespace (prefix As String) As String
매개 변수
- prefix
- String
찾을 XAML 네임스페이스 접두사입니다.The XAML namespace prefix to look up.
반환
지정된 접두사에 해당하는 XAML 네임스페이스 URI가 XmlnsDictionary에 있으면 해당 URI이고, 그렇지 않으면 null
입니다.The XAML namespace URI that corresponds to the specified prefix if it exists in this XmlnsDictionary; otherwise, null
.
예외
prefix
이(가) null
인 경우prefix
is null
.