CodeConnectAccess.Port Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the port represented by the current instance.
public:
property int Port { int get(); };
public int Port { get; }
member this.Port : int
Public ReadOnly Property Port As Integer
Property Value
A Int32 value that identifies a computer port used in conjunction with the Scheme property.
Examples
The following code example demonstrates displaying the value of this property.
static void DisplayProperties (CodeConnectAccess^ access)
{
Console::WriteLine("Scheme:{0} Port: {1}",
access->Scheme, access->Port);
}
public static void DisplayProperties (CodeConnectAccess access)
{
Console.WriteLine("Scheme:{0} Port: {1}", access.Scheme, access.Port);
}
Remarks
Port values are between 0 and 65,535. The port value is specified when you create an instance of CodeConnectAccess.