Click to Rate and Give Feedback
Properties
 valueType Property
VALUETYPE Attribute | valueType Property
Note: This documentation is preliminary and is subject to change.

Sets or retrieves the data type of the value attribute.

Syntax

HTML<PARAM VALUETYPE = p... >
Scripting[ p = ] PARAM.valueType [ = v ]

Possible Values

pString that specifies or receives the type of data specified in the value attribute of the param element.
dataDefault. The value specified by the value attribute will be evaluated and passed to the applet, embed, or object element as a string.
refThe value specified by the value attribute is a Uniform Resource Identifier (URI) that designates a resource where run-time values are stored. This allows support tools to identify URIs given as parameters.
objectThe value specified by the value attribute is an ID that refers to an object declaration in the same document. The ID must be the value of the id attribute set for the declared object element.

The property is read/write. The property has a default value of data.

Remarks

valueType was introduced in Microsoft Internet Explorer 6

Example

The following example shows how to use the param element to specify a run-time parameter for the object specified by the object element. A URI is specified for the Microsoft Windows Media Player control.

<OBJECT CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<PARAM NAME="FileName" 
VALUE="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/28movie.asf"
VALUETYPE="ref" TYPE="video/*"/>
</OBJECT>

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

PARAM

See Also

Binding HTML Elements to Data, Introduction to Data Binding
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker