OfficeProtectionCapabilityCatalog
OfficeIMO.Security
Machine-readable source of truth for protected-content coverage across OfficeIMO formats.
Inheritance
- object
- OfficeProtectionCapabilityCatalog
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Constructors
public OfficeProtectionCapabilityCatalog(string id, int schemaVersion, IEnumerable<OfficeProtectionCapability> capabilities) #Creates a protected-content capability catalog. Schema version 2 and later require defined enum values and exactly one disposition for every unsupported operation; schema version 1 retains the legacy row contract.
Parameters
- id string
- schemaVersion int
- capabilities System.Collections.Generic.IEnumerable<OfficeIMO.Security.OfficeProtectionCapability>
Methods
public OfficeProtectionCapability Get(string id) #Gets a capability by exact stable id.
Parameters
- id string
Returns
OfficeProtectionCapabilitypublic string ToJson() #Serializes the catalog as deterministic JSON without requiring a JSON package.
Returns
stringInherited Methods
Properties
public static OfficeProtectionCapabilityCatalog Current { get; } #Current protected-content capability contract.
public IReadOnlyList<OfficeProtectionCapability> Capabilities { get; } #Capability rows in stable order.
public IReadOnlyList<OfficeProtectionCapability> IncompleteCapabilities { get; } #Rows that contain at least one unsupported operation.