Method SetFeature
SetFeature(String, Boolean)
Set the value of a feature.
This will always fail if the parent is null.
Declaration
public virtual void SetFeature(string name, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The feature name. |
System.Boolean | value | The requested feature value. |
Implements
Exceptions
Type | Condition |
---|---|
SAXNotRecognizedException | If the feature value can't be assigned or retrieved from the parent. |
SAXNotSupportedException | When the parent recognizes the feature name but cannot set the requested value. |