Share via


AnchorElement.port Property

SharePoint Designer Developer Reference

Returns a String that represents the port number associated with a URL.

Syntax

expression.port

expression   Required. A variable that represents an AnchorElement object.

Remarks

The value of the port property can be one of the following String values:

Value Description
21 FTP protocol
70 gopher protocol
80 HTTP protocol
443 HTTPS protocol

The Object Browser states that the port property is read/write. However, the port property is read-only. If you attempt to set it, you receive an error.

See Also