Bagikan melalui


XmlDictionaryReader.GetAttribute Metode

Definisi

Saat ditimpa di kelas turunan, mendapatkan nilai atribut.

public:
 virtual System::String ^ GetAttribute(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual string GetAttribute (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
public virtual string? GetAttribute (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
override this.GetAttribute : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> string
Public Overridable Function GetAttribute (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString) As String

Parameter

localName
XmlDictionaryString

Yang XmlDictionaryString mewakili nama lokal atribut.

namespaceUri
XmlDictionaryString

yang XmlDictionaryString mewakili namespace atribut.

Mengembalikan

Nilai atribut

Berlaku untuk