Method GetType
GetType(Int32)
Return an attribute's type by index.
Declaration
public virtual string GetType(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The attribute's index (zero-based). |
Returns
Type | Description |
---|---|
System.String | The attribute's type, "CDATA" if the type is unknown, or null if the index is out of bounds. |
Implements
See Also
GetType(String, String)
Look up an attribute's type by Namespace-qualified name.
Declaration
public virtual string GetType(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 type, or null if there is no matching attribute. |
Implements
See Also
GetType(String)
Look up an attribute's type by qualified (prefixed) name.
Declaration
public virtual string GetType(string qName)
Parameters
Type | Name | Description |
---|---|---|
System.String | qName | The qualified name. |
Returns
Type | Description |
---|---|
System.String | The attribute's type, or null if there is no matching attribute. |