HREF Property

This property holds the value used to build an optional HREF attribute for the owning object's CDF element. When the CDF string for an object that has an HREF property is constructed, the property is checked. If it is not null, the HREF attribute is added to the element with the value of the property as the value.

Type

String (VT_BSTR)

Default

Null

Remarks

This property should contain an absolute or relative URL or URI. Relative URLs are completed using a parent element's BASE attribute.

Example

VBScript

IDispChannel.Base = "http://someserver/somedirectory"
IDispItem.HREF = "page1.htm"

© 1997-1998 Microsoft Corporation. All rights reserved.