setPropertyBag method



Assigns the specified AppletDescription a PropertyBag, populating it with the contents of a specified file or existing PropertyBag. This overloaded method can be called using any of the following signatures:

setPropertyBag(PropertyBag)
setPropertyBag(URLDescription)
setPropertyBag(URLBase, URLDescription)
setPropertyBag(URL)

setPropertyBag(PropertyBag)

Assigns the AppletDescription an existing PropertyBag.

Syntax

AppletDescription.setPropertyBag(PropertyBag)

Applies to

AppletDescription object.

Parameters

ProperetyBag
PropertyBag object. A reference to a PropertyBag instance, typically obtained by calling getPropertyBag().

setPropertyBag(URLDescription)

Assigns the AppletDescription a PropertyBag that it populates with the contents of the file at the specified URL.

Syntax

AppletDescription.setPropertyBag(URLDescription)

Applies to

AppletDescription object.

Parameters

URLDescription
string. The URL of a file containing name/value pairs to be used to populate the PropertyBag.

setPropertyBag(URLBase, URLDescription)

Assigns the AppletDescription a PropertyBag that it populates with the contents of the file at the specified URL.

Syntax

AppletDescription.setPropertyBag(URLBase, URLDescription)

Applies to

AppletDescription object.

Parameters

URLBase
URL. The base URL to be used when creating the URL for the PropertyBag.
URLDescription
string. The URL of a file containing name/value pairs to be used to populate the PropertyBag.

setPropertyBag(URL)

Assigns the AppletDescription a PropertyBag that it populates with the contents of the file at the specified URL.

Syntax

AppletDescription.setPropertyBag(URLDescription)

Applies to

AppletDescription object.

Parameters

URL
URL. The URL of a file containing name/value pairs to be used to populate the PropertyBag.

Example
Replacing an applet example

See also
getPropertyBag() method