ProfilePropertyLoader.DisplayName 方法
返回为该配置文件加载在ProfilePropertyLoader显示名称的属性。
命名空间: Microsoft.SharePoint.Portal.WebControls
程序集: Microsoft.SharePoint.Portal(位于 Microsoft.SharePoint.Portal.dll 中)
语法
声明
Public Function DisplayName ( _
strPropName As String _
) As String
用法
Dim instance As ProfilePropertyLoader
Dim strPropName As String
Dim returnValue As String
returnValue = instance.DisplayName(strPropName)
public string DisplayName(
string strPropName
)
参数
strPropName
类型:System.String配置文件属性名。
返回值
类型:System.String
配置文件属性的显示名称。
备注
此方法返回的属性 ; 显示名称如果找不到该属性,将返回一条错误消息。