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
fixedattribute.
[Visual Basic]
Implementation Syntax
strFixedValue = oISchemaAttribute.fixedValue
Parameters
None.
Return Values
- strFixedValue
- A string. The value of the
fixedattribute.
[C/C++]
Implementation Syntax
HRESULT get_fixedValue(BSTR* fixedValue);
Parameters
- fixedValue [out,retval]
- A string. The value of the
fixedattribute.
Return Values
- S_OK
- The value returned if successful.
- E_POINTER
- The value returned if the
fixedValueparameter 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
in the upper-left corner of the page.
See Also
Applies to: ISchemaAttribute Interface
