语言

PassportIdentity.HasProfile(String) 方法

定义

指示此用户的配置文件中是否存在给定的配置文件属性。 此类已弃用。

public:
 bool HasProfile(System::String ^ strProfile);
public bool HasProfile(string strProfile);
member this.HasProfile : string -> bool
Public Function HasProfile (strProfile As String) As Boolean

参数

strProfile
String

要查询的 Passport 配置文件属性。

返回

如果配置文件属性 存在于此用户的配置文件中,则为 。

注解

此类已弃用,不再受支持。 Microsoft Passport 网络已替换为 Windows Live ID。

适用于