Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AdfDestinationPolicy

Namespace OfficeIMO.Adf
Assembly OfficeIMO.Adf
Modifiers sealed

Caller-defined node and mark support for a named destination product and version.

Inheritance

  • Object
  • AdfDestinationPolicy

Remarks

This policy restricts the selected structural or full-schema contract; it does not replace it. A null list imposes no restriction for that category. An empty list permits none. The node list applies to content nodes, including nested content, rather than the document root. Lists are copied at construction. Validation does not alter the document or contact the destination.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public AdfDestinationPolicy(String name, IEnumerable<String> allowedNodeTypes = null, IEnumerable<String> allowedMarkTypes = null) #

Creates a destination policy from the supported content node and mark type names.

Parameters

name System.String requiredposition: 0
Caller-owned product/version label, such as Jira Cloud with a qualification date.
allowedNodeTypes System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 1
Supported content node types, compared case-sensitively, or null to allow any type.
allowedMarkTypes System.Collections.Generic.IEnumerable{System.String} = null optionalposition: 2
Supported mark types, compared case-sensitively, or null to allow any type.

Properties

public String Name { get; } #

Gets the caller-owned destination product/version label used in diagnostics.

public IReadOnlyList<String> AllowedNodeTypes { get; } #

Gets the immutable supported content node names, or null when nodes are unrestricted.

public IReadOnlyList<String> AllowedMarkTypes { get; } #

Gets the immutable supported mark names, or null when marks are unrestricted.