Method GetValue
GetValue(Int32)
Return an attribute's value by index.
Declaration
public virtual string GetValue(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The attribute's index (zero-based). |
Returns
Type | Description |
---|---|
System.String | The attribute's value or null if the index is out of bounds. |
Implements
See Also
GetValue(String, String)
Look up an attribute's value by Namespace-qualified name.
Declaration
public virtual string GetValue(string uri, string localName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The Namespace URI, or the empty string for a name with no explicit Namespace URI. |
System.String | localName | The local name. |
Returns
Type | Description |
---|---|
System.String | The attribute's value, or null if there is no matching attribute. |
Implements
See Also
GetValue(String)
Look up an attribute's value by qualified (prefixed) name.
Declaration
public virtual string GetValue(string qName)
Parameters
Type | Name | Description |
---|---|---|
System.String | qName | The qualified name. |
Returns
Type | Description |
---|---|
System.String | The attribute's value, or null if there is no matching attribute. |