IPv6InterfaceProperties.GetScopeId(ScopeLevel) Methode

Definition

Ruft die Bereichs-ID der Netzwerkschnittstelle ab, die einer IPv6-Adresse (Internet Protocol Version 6) zugeordnet ist.

public:
 virtual long GetScopeId(System::Net::NetworkInformation::ScopeLevel scopeLevel);
public virtual long GetScopeId(System.Net.NetworkInformation.ScopeLevel scopeLevel);
abstract member GetScopeId : System.Net.NetworkInformation.ScopeLevel -> int64
override this.GetScopeId : System.Net.NetworkInformation.ScopeLevel -> int64
Public Overridable Function GetScopeId (scopeLevel As ScopeLevel) As Long

Parameter

scopeLevel
ScopeLevel

Die Bereichsebene.

Gibt zurück

Die Bereichs-ID der Netzwerkschnittstelle, die einer IPv6-Adresse zugeordnet ist.

Gilt für: