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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.