oneTimeOnly property

Specifies whether an object created with createObjectURL can only used once.

This property is read/write.

Internet Explorer 10

 

Syntax

JavaScript
object.oneTimeOnly = bOptions
bOptions = object.oneTimeOnly

 

Property values

Type: boolean

One of the following:

ValueCondition
False

The object will persist until revokeObjectURL is called on it.

True

The object (blob, stream, and so forth) is for single use only.

 

Remarks

When an object created with createObjectURL uses this attribute set to true, the object is only used once. The revokeObjectURL method does not need to be used on the object.

See also

createObjectURL
revokeObjectURL
ObjectURLOptions

 

 

Show:
© 2014 Microsoft