Returns the current value of a property.
The MXValidator CoClass implements the following properties:
"schemas""schema-declaration-handler"Function getProperty(strName As String) As Variant
varValue = oMXValidator.getProperty(strName)
A variant containing the current value of the property. The following table describes the properties defined for the MXValidator object.
| Property | Returns | 
|---|---|
| "schemas"
 | Current value of the property. | 
| Other properties | Trappable error. | 
HRESULT getProperty( [in] BSTR strName, [out, retval] VARIANT * varValue);
| Property | Returns | 
|---|---|
| "schemas"
 | S_OK  The varValueparameter contains the current value of the property. | 
| Other properties | E_INVALIDARG  The property is not recognized. | 
The following properties are defined for the MXValidator:
"schemas"Datatype  XMLSchemaCache.
Access  (parsing) Read-only; (not parsing) Read/Write.
"schema-declaration-handler"Datatype  Event handler that implements the IMXSchemaDeclHandler interface.
To view reference information for Visual Basic or C/C++ only, click the Language Filter button  in the upper-left corner of the page.
 in the upper-left corner of the page.
Applies to: MXValidator CoClass