PropertyCollection.SetDisplayOrderByPropertyName Method
NOTE: This API is now obsolete.
Sets the specified display order of the properties by property name.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")> _
Public Sub SetDisplayOrderByPropertyName ( _
strPropName As String, _
nDisplayOrder As Integer _
)
'Usage
Dim instance As PropertyCollection
Dim strPropName As String
Dim nDisplayOrder As Integer
instance.SetDisplayOrderByPropertyName(strPropName, _
nDisplayOrder)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
public void SetDisplayOrderByPropertyName(
string strPropName,
int nDisplayOrder
)
Parameters
strPropName
Type: System.StringThe name of the property.
nDisplayOrder
Type: System.Int32The order of the display.