Methods Property

Microsoft FrontPage Visual Basic

Methods Property

Returns or sets a String that represents the list of HTTP methods supported by a hyperlink. Corresponds to the methods attribute for an A element.

expression.Methods

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

Setting the Methods property sets the value of the methods attribute for a specified hyperlink.

Example

The following example creates an array of the items listed in the Methods property.

    Dim objLink As FPHTMLAnchorElement
Dim strMethods() As Variant

Set objLink = ActiveDocument.Links.Item(0)
strMethods = Split(objLink.Methods, ",")