Partilhar via


MetadataDefaults.GetFieldDefault Method

Include Protected Members
Include Inherited Members

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