FPCDirectIpDestinations.Item
Method
Retrieves the given FPCDirectIpDestination object from
the collection.
VBScript Syntax[VBScript]
[ vItem = ] FPCDirectIpDestinations.Item( vIp_FromOrIndex, vIp_To )
C++ Syntax[C++]
HRESULT Item(
VARIANT vIp_FromOrIndex,
VARIANT vIp_To,
IFPCDirectIPDestination **pvItem
);
Parameters
- vIp_FromOrIndex
- One-based index of the object to retrieve, or domain name or
lower-bound IP.
- vIp_To
- Optional. String that specifies the higher-bound IP of the
object to retrieve; needed if providing a lower-bound IP in
IP_FromOrIndex.
Return Value
- vItem
- If successful, returns a reference to an object of type
FPCDirectIpDestination; otherwise:
- In C++, returns an error code and a null object.
- In scripting languages and in Visual Basic, an error is raised
and can be intercepted by using an error handler.
Applies To
FPCDirectIpDestinations