fixedValue Property

 

[This feature was only implemented for MSXML 6.0.]

Returns a string. This string is the fixed value of the attribute being queried. The <attribute> declaration includes the fixed attribute.

The following is an example of the fixed attribute in an XML Schema.

<schema>  
   <element name="someelement">  
      <attribute name="someattribute" fixed="attr text" type="string"/>  
  </element>  
</schema>  

JScript Syntax

var strFixedValue = oISchemaAttribute.fixedValue;  

Parameters

None.

Return Values

strFixedValue
A string. The value of the fixed attribute.

Visual Basic Syntax

strFixedValue = oISchemaAttribute.fixedValue  

Parameters

None.

Return Values

strFixedValue
A string. The value of the fixed attribute.

C/C++ Syntax

HRESULT get_fixedValue(BSTR* fixedValue);  

Parameters

fixedValue[out,retval]
A string. The value of the fixed attribute.

Return Values

S_OK
The value returned if successful.

E_POINTER
The value returned if the fixedValue parameter is NULL.

E_FAIL
The value returned if something else is wrong.

Versioning

Implemented in: MSXML 6.0

Applies to

ISchemaAttribute Interface

See Also

element Element