Share via


ProfilePropertyLoader.GetProperty Method

Gets the Property object for the profile property in the PropertyLoader.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Function GetProperty ( _
    strPropName As String _
) As Property
'Usage
Dim instance As ProfilePropertyLoader
Dim strPropName As String
Dim returnValue As [Property]

returnValue = instance.GetProperty(strPropName)
public Property GetProperty(
    string strPropName
)

Parameters

  • strPropName
    Type: System.String
    The name of the profile property.

Return Value

Type: Microsoft.Office.Server.UserProfiles.Property
A Property object.

See Also

Reference

ProfilePropertyLoader Class

ProfilePropertyLoader Members

Microsoft.SharePoint.Portal.WebControls Namespace