PropertyCollection.GetPropertyByName - Méthode

Remarque : cette API est désormais obsolète.

Obtient une propriété par son nom.

Espace de noms :  Microsoft.Office.Server.UserProfiles
Assembly :  Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")> _
Public Function GetPropertyByName ( _
    strPropName As String _
) As Property
'Utilisation
Dim instance As PropertyCollection
Dim strPropName As String
Dim returnValue As [Property]

returnValue = instance.GetPropertyByName(strPropName)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
public Property GetPropertyByName(
    string strPropName
)

Paramètres

Valeur renvoyée

Type : Microsoft.Office.Server.UserProfiles.Property
Le qui contient l'objet Property .

Voir aussi

Référence

PropertyCollection classe

PropertyCollection - Membres

Microsoft.Office.Server.UserProfiles - Espace de noms