Sdílet prostřednictvím


IPv6InterfaceProperties.GetScopeId(ScopeLevel) Metoda

Definice

Získá ID oboru síťového rozhraní přidruženého k ip adrese IPv6 (Internet Protocol verze 6).

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

Úroveň oboru.

Návraty

ID oboru síťového rozhraní přidruženého k adrese IPv6.

Atributy

Platí pro