SPField.SetCustomProperty - Méthode

Définit une valeur pour la propriété spécifiée.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub SetCustomProperty ( _
    propertyName As String, _
    propertyValue As Object _
)
'Utilisation
Dim instance As SPField
Dim propertyName As String
Dim propertyValue As Object

instance.SetCustomProperty(propertyName, _
    propertyValue)
public void SetCustomProperty(
    string propertyName,
    Object propertyValue
)

Paramètres

  • propertyValue
    Type : System.Object

    La valeur de la propriété.

Exceptions

Exception Condition
ArgumentNullException

propertyName est vide ou null .

Remarques

Cette méthode définit la valeur de la propriété spécifiée.

Voir aussi

Référence

SPField classe

SPField - Membres

Microsoft.SharePoint - Espace de noms