The DefaultPref property holds the value used to build an optional DEFAULTPREF attribute for the owning Channel object's CDF element. When the CDF string for the object is constructed, the property is checked. If it is not null, the DEFAULTPREF attribute is added to the element, with the value of the property set as the value.
Type
BSTR (VT_BSTR)
Default
Null
Remarks
This element is used by the Mobile Channel channel distribution system to identify a default preference to subscriptions for the channel. If a client accepts default subscriptions to channels, then all CHANNEL elements containing the DEFAULTPREF="YES" attribute/value pair will be subscribed to.
The Mobile Channel channel distribution system currently accepts either "YES" or "NO" as valid values for this attribute.
A complete discussion of this element and its associated functionality is beyond the scope of this documentation. For additional information about XML elements used by the Mobile Channel channel distribution system, see the product documentation and SDK.
Example
VBScript
IDispChannel.DefaultPref = "YES"