Method GetProperty
GetProperty(String)
Look up the value of a property.
Declaration
object GetProperty(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The property name, which is a fully-qualified URI. |
Returns
Type | Description |
---|---|
System.Object | The current value of the property. |
Remarks
The property name is any fully-qualified URI. It is possible for an XMLReader to recognize a property name but temporarily be unable to return its value. Some property values may be available only in specific contexts, such as before, during, or after a parse.
IXMLReaders are not required to recognize any specific property names, though an initial core set is documented for SAX2.
Implementors are free (and encouraged) to invent their own properties, using names built on their own URIs.
Exceptions
Type | Condition |
---|---|
SAXNotRecognizedException | If the property value can't be assigned or retrieved. |
SAXNotSupportedException | When the IXMLReader recognizes the property name but cannot determine its value at this time. |