Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the display name of the property for the profile loaded in the ProfilePropertyLoader.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function DisplayName ( _
strPropName As String _
) As String
'Usage
Dim instance As ProfilePropertyLoader
Dim strPropName As String
Dim returnValue As String
returnValue = instance.DisplayName(strPropName)
public string DisplayName(
string strPropName
)
Parameters
strPropName
Type: System.StringThe profile property name.
Return Value
Type: System.String
The display name of the profile property.
Remarks
This method returns the display name of the property; if the property cannot be found, an error message will be returned.