Share via


IPv6InterfaceProperties.GetScopeId(ScopeLevel) Méthode

Définition

Obtient l’ID de portée de l’interface réseau associée à une adresse de protocole IPv6 (Internet Protocol version 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

Paramètres

scopeLevel
ScopeLevel

Niveau de portée.

Retours

ID de portée de l’interface réseau associée à une adresse IPv6.

Attributs

S’applique à