IPv6InterfaceProperties.GetScopeId(ScopeLevel) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与 Internet 协议版本 6 (IPv6) 地址关联的网络接口的范围 ID。
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);
	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")>]
abstract member GetScopeId : System.Net.NetworkInformation.ScopeLevel -> int64
override this.GetScopeId : System.Net.NetworkInformation.ScopeLevel -> int64
	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
	参数
- scopeLevel
 - ScopeLevel
 
范围级别。
返回
与 IPv6 地址关联的网络接口的范围 ID。
- 属性