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.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.