Udostępnij za pośrednictwem


IPv6InterfaceProperties.GetScopeId(ScopeLevel) Metoda

Definicja

Pobiera identyfikator zakresu interfejsu sieciowego skojarzonego z adresem protokołu internetowego w wersji 6 (IPv6).

public:
 virtual long GetScopeId(System::Net::NetworkInformation::ScopeLevel scopeLevel);
public virtual long GetScopeId (System.Net.NetworkInformation.ScopeLevel scopeLevel);
[System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
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
[<System.Runtime.Versioning.UnsupportedOSPlatform("freebsd")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("osx")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
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

Parametry

scopeLevel
ScopeLevel

Poziom zakresu.

Zwraca

Identyfikator zakresu interfejsu sieciowego skojarzonego z adresem IPv6.

Atrybuty

Dotyczy