Skip to content

Commit 659af30

Browse files
committed
Implement the SensitivityLabel property for Word, Excel and PowerPoint
1 parent 5b4ed1d commit 659af30

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

Source/Excel/DispatchInterfaces/_Workbook.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,6 +2356,20 @@ public NetOffice.ExcelApi.Queries Queries
23562356
}
23572357
}
23582358

2359+
/// <summary>
2360+
/// SupportByVersion Excel 16
2361+
/// Get
2362+
/// </summary>
2363+
/// <remarks> Returns the Microsoft Office SensitivityLabel object from the Workbook. </remarks>
2364+
[SupportByVersion("Excel", 16)]
2365+
public NetOffice.OfficeApi.SensitivityLabel SensitivityLabel
2366+
{
2367+
get
2368+
{
2369+
return Factory.ExecuteKnownReferencePropertyGet<NetOffice.OfficeApi.SensitivityLabel>(this, "SensitivityLabel", NetOffice.OfficeApi.SensitivityLabel.LateBindingApiWrapperType);
2370+
}
2371+
}
2372+
23592373
#endregion
23602374

23612375
#region Methods

Source/PowerPoint/DispatchInterfaces/_Presentation.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,19 @@ public bool AutoSaveOn
12931293
}
12941294
}
12951295

1296-
1296+
/// <summary>
1297+
/// SupportByVersion PowerPoint 16
1298+
/// Get
1299+
/// </summary>
1300+
/// <remarks> Returns the Microsoft Office SensitivityLabel object from the Presentation. </remarks>
1301+
[SupportByVersion("PowerPoint", 16)]
1302+
public NetOffice.OfficeApi.SensitivityLabel SensitivityLabel
1303+
{
1304+
get
1305+
{
1306+
return Factory.ExecuteKnownReferencePropertyGet<NetOffice.OfficeApi.SensitivityLabel>(this, "SensitivityLabel", NetOffice.OfficeApi.SensitivityLabel.LateBindingApiWrapperType);
1307+
}
1308+
}
12971309

12981310
#endregion
12991311

Source/Word/DispatchInterfaces/_Document.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3520,6 +3520,20 @@ public bool IsInAutosave
35203520
}
35213521
}
35223522

3523+
/// <summary>
3524+
/// SupportByVersion Word 16
3525+
/// Get
3526+
/// </summary>
3527+
/// <remarks> Returns the Microsoft Office SensitivityLabel object from the Document. </remarks>
3528+
[SupportByVersion("Word", 16)]
3529+
public NetOffice.OfficeApi.SensitivityLabel SensitivityLabel
3530+
{
3531+
get
3532+
{
3533+
return Factory.ExecuteKnownReferencePropertyGet<NetOffice.OfficeApi.SensitivityLabel>(this, "SensitivityLabel", NetOffice.OfficeApi.SensitivityLabel.LateBindingApiWrapperType);
3534+
}
3535+
}
3536+
35233537
#endregion
35243538

35253539
#region Methods

0 commit comments

Comments
 (0)