XmlElement.GetAttributeNodeNS(Object, String) メソッド

定義

指定した名前空間から、指定した属性を返します。

public:
 virtual XmlAttribute ^ GetAttributeNodeNS(Platform::Object ^ namespaceUri, Platform::String ^ localName) = GetAttributeNodeNS;
XmlAttribute GetAttributeNodeNS(IInspectable const& namespaceUri, winrt::hstring const& localName);
public XmlAttribute GetAttributeNodeNS(object namespaceUri, string localName);
function getAttributeNodeNS(namespaceUri, localName)
Public Function GetAttributeNodeNS (namespaceUri As Object, localName As String) As XmlAttribute

パラメーター

namespaceUri
Object

Platform::Object

IInspectable

取得する属性の名前空間。

localName
String

Platform::String

winrt::hstring

名前空間プレフィックスのない属性の名前。

戻り値

返される属性ポインター。

var width = element.GetAttributeNodeNS("http://www.w3.org/2000/svg", "width");
auto width = element.GetAttributeNodeNS(winrt::box_value(L"http://www.w3.org/2000/svg"), L"width");

適用対象