Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Sets a default for a field at a location
Overload List
Name | Description | |
---|---|---|
![]() |
SetFieldDefault(SPFolder, String, String) | Sets a default for a field at a location. |
![]() |
SetFieldDefault(String, String, String) | Sets a default value for a default field to apply to documents at a specified location. |
Top
Remarks
This method sets a default value on a field to apply to documents added to the specified location. The value should be appropriate for the type of field the default is being set on (that is, a DateTime string for a SharePointSPFieldDateTime object). The method returns true if the value was set on the field at the specified location; otherwise, false.