共用方式為


IsSubscribed method

Obsolete. Retrieves a value indicating whether the client subscribes to the given channel.

Syntax

var retval = external.IsSubscribed(URL);

Parameters

  • URL [in]
    Type: BSTR

    A String that specifies the URL of a CDF file to check for a subscription.

Return value

Type: Boolean

Boolean that receives one of the following possible values.

Return value Description
true

The client subscribes to the channel.

false

No subscription exists for the CDF file.

 

Standards information

There are no standards that apply here.

Remarks

In Windows Internet Explorer 7, the CDF is obsolete and should not be used.

For security purposes, if this method is used in an HTML page that is not in the same secondary domain specified in URL, the method returns a scripting error.

For more information about Microsoft Active Channel, see Introduction to Active Channel Technology.

This method is not supported in Introduction to HTML Applications (HTAs).

See also

external