Share via


ListItem.SetComplianceTag method

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

Syntax

'Declaration
Public Sub SetComplianceTag ( _
    complianceTag As String, _
    isTagPolicyHold As Boolean, _
    isTagPolicyRecord As Boolean, _
    isEventBasedTag As Boolean _
)
'Usage
Dim instance As ListItem
Dim complianceTag As String
Dim isTagPolicyHold As Boolean
Dim isTagPolicyRecord As Boolean
Dim isEventBasedTag As Boolean

instance.SetComplianceTag(complianceTag, _
    isTagPolicyHold, isTagPolicyRecord, _
    isEventBasedTag)
public void SetComplianceTag(
    string complianceTag,
    bool isTagPolicyHold,
    bool isTagPolicyRecord,
    bool isEventBasedTag
)

Parameters

See also

Reference

ListItem class

ListItem members

Microsoft.SharePoint.Client namespace