Share via


MetadataDefaults.SetFieldDefault method

Namespace:  Microsoft.SharePoint.Client.DocumentManagement
Assembly:  Microsoft.SharePoint.Client.DocumentManagement (in Microsoft.SharePoint.Client.DocumentManagement.dll)

Syntax

'Declaration
Public Function SetFieldDefault ( _
    folder As Folder, _
    fieldName As String, _
    value As String _
) As ClientResult(Of Boolean)
'Usage
Dim instance As MetadataDefaults
Dim folder As Folder
Dim fieldName As String
Dim value As String
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.SetFieldDefault(folder, _
    fieldName, value)
public ClientResult<bool> SetFieldDefault(
    Folder folder,
    string fieldName,
    string value
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>

See also

Reference

MetadataDefaults class

MetadataDefaults members

Microsoft.SharePoint.Client.DocumentManagement namespace