Share via


INetFwOpenPorts.Item Method

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Function Item ( _
    portNumber As Integer, _
    ipProtocol As NET_FW_IP_PROTOCOL_ _
) As INetFwOpenPort
INetFwOpenPort Item(
    int portNumber,
    NET_FW_IP_PROTOCOL_ ipProtocol
)
INetFwOpenPort^ Item(
    [InAttribute] int portNumber, 
    [InAttribute] NET_FW_IP_PROTOCOL_ ipProtocol
)
abstract Item : 
        portNumber:int * 
        ipProtocol:NET_FW_IP_PROTOCOL_ -> INetFwOpenPort
function Item(
    portNumber : int, 
    ipProtocol : NET_FW_IP_PROTOCOL_
) : INetFwOpenPort

Parameters

Return Value

Type: Microsoft.TeamFoundation.Common.INetFwOpenPort
Returns INetFwOpenPort.

.NET Framework Security

See Also

Reference

INetFwOpenPorts Interface

Microsoft.TeamFoundation.Common Namespace