PropertyCollection.SetDisplayOrderByName Method
NOTE: This API is now obsolete.
Sets the specified display order of the properties by 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 SetDisplayOrderByName ( _
strName As String, _
fIsSection As Boolean, _
nDisplayOrder As Integer _
)
'Usage
Dim instance As PropertyCollection
Dim strName As String
Dim fIsSection As Boolean
Dim nDisplayOrder As Integer
instance.SetDisplayOrderByName(strName, _
fIsSection, nDisplayOrder)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
public void SetDisplayOrderByName(
string strName,
bool fIsSection,
int nDisplayOrder
)
Parameters
strName
Type: System.StringThe name of the property.
fIsSection
Type: System.Booleantrue if this property is a section; otherwise, false.
nDisplayOrder
Type: System.Int32The order of the display.