Platform SDK: Fax Services |
The FaxPorts object represents a collection of FaxPort objects. The FaxPorts object permits a fax client Visual Basic application to enumerate the fax ports associated with a connected fax server, and to create FaxPort objects for those ports. There is one FaxPort object for each port associated with the server.
The FaxPorts object has the following properties:
You should not implement this class. The Microsoft standard implementation provides complete functionality. You can use the Visual Basic Object Browser to view the FaxPorts object's type library information in Visual Basic syntax.
To create a FaxPorts object
Following is a list of the Visual Basic properties of FaxPorts objects.
Property | Visual Basic Example |
---|---|
Item LONG Read-only |
|
Creates a FaxPort object for a specified fax port. Valid values for this property are in the range from 1 to n, where n is the number of FaxPort objects returned by a call to the Count property. |
Dim Port As Object Dim lCount As Long Port = Ports.GetItem(lCount) |
Count LONG Read-only |
|
Number of fax ports associated with the connected fax server. |
Dim lPorts As Long lPorts = objFaxPorts.Count |