Method | Description | |
---|---|---|
EnsureColumn ( this list, |
Checks if a column exists in a list and creates it if it doesn't exist.
|
|
EnsureColumn ( this list, System.Guid columnId, string columnInternalName, string columnDisplayName, string columnDescription, SPFieldType columnType, string columnTypeAsString, string columnGroup, bool isSiteColumn, bool &isNewColumn ) : SPField |
Checks if a column exists in a list and creates it if it doesn't exist.
|
|
EnsureColumn ( this list, |
Checks if a column exists in a list and creates it if it doesn't exist.
|
|
UnregisterEventReceivers ( this list, string eventReceiverClassName ) : void |
Unregisters a specified event receiver from the list.
|
public static EnsureColumn ( this list, |
||
list | this | |
columnDetail | The details of the site column. | |
isSiteColumn | bool | |
isNewColumn | bool | A boolean that is set to true, if a new column is created; otherwise, it is set to false. |
return | SPField |
public static EnsureColumn ( this list, System.Guid columnId, string columnInternalName, string columnDisplayName, string columnDescription, SPFieldType columnType, string columnTypeAsString, string columnGroup, bool isSiteColumn, bool &isNewColumn ) : SPField | ||
list | this | The site to check. |
columnId | System.Guid | The GUID of the column to use if it needs to be created. |
columnInternalName | string | The internal name of the column to check. |
columnDisplayName | string | The display name of the column to use if it needs to be created. |
columnDescription | string | The description of the column to use if it needs to be created. |
columnType | SPFieldType | |
columnTypeAsString | string | |
columnGroup | string | The column group to add the site column to if it needs to be created. |
isSiteColumn | bool | |
isNewColumn | bool | A boolean that is set to true, if a new column is created; otherwise, it is set to false. |
return | SPField |
public static EnsureColumn ( this list, |
||
list | this | |
columnDetail | The details of the site column. | |
isSiteColumn | bool | |
isNewColumn | bool | A boolean that is set to true, if a new column is created; otherwise, it is set to false. |
return | SPField |
public static UnregisterEventReceivers ( this list, string eventReceiverClassName ) : void | ||
list | this | The list to use. |
eventReceiverClassName | string | The name of the event receiver to remove. |
return | void |