XmlElement.GetAttribute(String) メソッド

定義

属性の値を返します。

public:
 virtual Platform::String ^ GetAttribute(Platform::String ^ attributeName) = GetAttribute;
winrt::hstring GetAttribute(winrt::hstring const& attributeName);
public string GetAttribute(string attributeName);
function getAttribute(attributeName)
Public Function GetAttribute (attributeName As String) As String

パラメーター

attributeName
String

Platform::String

winrt::hstring

必要な属性の名前。

戻り値

String

Platform::String

winrt::hstring

属性の文字列値。

適用対象