Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Reference

getFeature Method

Returns a Boolean value that indicates whether a feature is enabled or disabled.

The MXValidator CoClass supports the following feature:

[Visual Basic]

Implementation Syntax

Function getFeature(strName As String) As Boolean

Usage Syntax

boolFeature = oMXValidator.getFeature(strName)

Parameters

strName
A string representing the name of the feature.

Return Values

boolFeature
A Boolean (True/False) value that indicates whether the feature is enabled or disabled.
[C/C++]

Syntax

HRESULT getFeature(
   [in] BSTR strName,
   [out, retval] VARIANT_BOOL *fValue);

Parameters

strName [in]
The name of the feature.
fValue [out, retval]
Set to indicate whether the feature is enabled (TRUE) or disabled (FALSE)

Return Values

S_OK
The fValue parameter contains a Boolean value indicating whether the feature specified in strName is enabled (TRUE) or disabled (FALSE).
E_INVALIDARG
The value returned if the argument provided for this feature is not recognized.

Remarks

The "exhaustive-errors" feature is the only feature and is not configurable. It is always enabled and returns True.

To view reference information for Visual Basic or C/C++ only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

putFeature Method

Applies to: MXValidator CoClass