Свойство Field.StaticName
Gets or sets a value that specifies a customizable identifier of the field.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Property StaticName As String
Get
Set
'Применение
Dim instance As Field
Dim value As String
value = instance.StaticName
instance.StaticName = value
public string StaticName { get; set; }
Значение свойства
Тип: System.String
Returns a String instance representing customizable identifier of the field.
Исключения
Исключение | Условие |
---|---|
[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. |
Замечания
If the value is пустая ссылка (Nothing в Visual Basic) or empty, the server must use the value of InternalName.