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

fixedValue Property

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

Example

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>
[Script]

Implementation Syntax

var strFixedValue = oISchemaAttribute.fixedValue;

Parameters

None.

Return Values

strFixedValue
A string. The value of the fixed attribute.
[Visual Basic]

Implementation Syntax

strFixedValue = oISchemaAttribute.fixedValue

Parameters

None.

Return Values

strFixedValue
A string. The value of the fixed attribute.
[C/C++]

Implementation 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.

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

element Element

Applies to: ISchemaAttribute Interface