MetadataDefaults Members
Include Protected Members
Include Inherited Members
Provides a way to set and get default values for fields based on where the document is added.
The MetadataDefaults type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
MetadataDefaults(SPList) | Initializes a new instance of a [T:Microsoft.Office.DocumentManagement.MetadataDefaults(Microsoft.SharePoint.SPList)] object. |
![]() |
MetadataDefaults(String, SPWeb) | Initializes a new instance of a [T:Microsoft.Office.DocumentManagement.MetadataDefaults(System.String,Microsoft.SharePoint.SPWeb)] object. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ApplyDefaults | Applies default values to a SPListItem object. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetDefaultMetadata(SPFolder) | Gets the defaults for all field that have defaults for a specified folder. |
![]() |
GetDefaultMetadata(String) | Gets the defaults for all fields in a specified SPFolder that have defaults. |
![]() |
GetFieldDefault(SPFolder, String) | Gets the default value for a specified folder and field. |
![]() |
GetFieldDefault(String, String) | Gets the default value for a specified field and folder. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
RemoveAllDefaults | Removes all of the default values set on the document library. |
![]() |
RemoveAllFieldDefaults(SPFolder) | Removes all of the defaults set at a specified location. |
![]() |
RemoveAllFieldDefaults(String) | Removes all of the default values that are set at a specified location. |
![]() |
RemoveFieldDefault(SPFolder, String) | Removes the default value of a SPField object at a specified SPFolder object. |
![]() |
RemoveFieldDefault(String, String) | Removes the default value of a field from an SPFolder object. |
![]() |
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. |
![]() |
ToString | (Inherited from Object.) |
![]() |
Update | Write changes to default values to the disk and adds or removes the appropriate event handlers. |
Top