Skip to content

Commit 1bdee98

Browse files
committed
Feedback revisions
Changes to line breaks and adjustments to formatting/text
1 parent 891cda7 commit 1bdee98

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

docs/sp-add-ins/CSOM methods for applying retention labels

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ CSOM methods are available to apply (set) a retention label (ComplianceTag) on o
1818
> Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
1919

2020
## SetComplianceTagOnBulkItems
21+
2122
This method can be used to set a ComplianceTag on one or many ListItems. It is strongly recommended to use this method for this purpose.
2223

23-
<!-- {
24-
"blockType": "ignored"
25-
}
26-
-->
24+
2725
```c#
2826
public List<int> SetComplianceTagOnBulkItems(
2927
List<int> itemIds,
@@ -32,6 +30,7 @@ public List<int> SetComplianceTagOnBulkItems(
3230
```
3331

3432
### Parameters
33+
3534
'List' [Int](/en-us/dotnet/api/system.int32)
3635

3736
'ItemsIds' [String](/dotnet/api/system.string)
@@ -48,25 +47,18 @@ Attribute [RemoteAttribute](/dotnet/api/microsoft.sharepoint.client.remoteattrib
4847
|:---|:---|
4948
|SharePoint CSOM|latest|
5049

51-
52-
5350
## Other
51+
5452
> [!NOTE] It is strongly recommended to use SetComplianceTagOnBulkItems instead of these methods.
5553

5654
The following methods are also available, but are no longer updated and may be subject to deprecation in the future. If you are using these methods, we strongly recommend use of the SetComplianceTagOnBulkItems method instead.
5755

5856
* [SetComplianceTag](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetag?view=sharepoint-csom)
59-
6057
* [SetComplianceTagWithExplicitMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetainfo?view=sharepoint-csom)
61-
6258
* [SetComplianceTagWithExplicitMetasUpdate](https://learn.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithexplicitmetasupdate?view=sharepoint-csom)
63-
6459
* [SetComplianceTagWithHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithhold?view=sharepoint-csom)
65-
6660
* [SetComplianceTagWithMetaInfo](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithmetainfo?view=sharepoint-csomtnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithhold?view=sharepoint-csom)
67-
6861
* [SetComplianceTagWithNoHold](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithnohold?view=sharepoint-csom)
69-
7062
* [SetComplianceTagWithRecord](/dotnet/api/microsoft.sharepoint.client.listitem.setcompliancetagwithrecord?view=sharepoint-csom)
7163

7264

0 commit comments

Comments
 (0)