Field.StaticName - Propriété
Gets or sets a value that specifies a customizable identifier of the field.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property StaticName As String
Get
Set
'Utilisation
Dim instance As Field
Dim value As String
value = instance.StaticName
instance.StaticName = value
public string StaticName { get; set; }
Valeur de propriété
Type : System.String
Returns a String instance representing customizable identifier of the field.
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPException] | The server does not allow properties of the field to be changed. Error code: -2146232832. |
[System.NotSupportedException] | Value is changed, and the list is an external list. Error code: -1. |
Remarques
If the value is une référence Null (Rien dans Visual Basic) or empty, the server must use the value of InternalName.