Share via


MetadataDefaults.GetFieldDefault method

Gets the default value for a specified folder and field

Overload list

  Name Description
Public method GetFieldDefault(SPFolder, String) Gets the default value for a specified folder and field.
Public method GetFieldDefault(String, String) Gets the default value for a specified field and folder.

Top

Remarks

Returns the default value set on the field indicated by the fieldName parameter at the folder location. The method returns a null reference (Nothing in Visual Basic) if no default is set for the specified field and folder.

See also

Reference

MetadataDefaults class

MetadataDefaults members

Microsoft.Office.DocumentManagement namespace