Class Usage

Programmatic Identifier: Push.Usage.1

The Push.Usage.1 class, hereafter referred to as the Usage class, defines an object that can be used to manage information used to build a USAGE XML element as defined by the Channel Definition Format (CDF) specification.

The Usage class exposes a dispinterface to the methods listed below. Therefore, all invocations must proceed through the IDispatch interface.

Dispinterface IUsage

Methods

Name Description
AddElement Adds a user-defined XML element to the Elements collection
GetCDFString Builds and returns the CDF string defined by the object.

Properties

Name Description
Content Holds an optional string, which will be inserted as the content of the object's CDF element.
Type Holds an optional string value used to build the optional HREF attribute for the object's CDF string.

Collections

Name Description
Elements A collection of user-defined XML elements.


© 1997-1998 Microsoft Corporation. All rights reserved.