Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

AsciiDocDocumentAttributes

OfficeIMO.AsciiDoc

Namespace
OfficeIMO.AsciiDoc
Assembly
OfficeIMO.AsciiDoc
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Effective case-insensitive document attribute values.

Inheritance

  • object
  • AsciiDocDocumentAttributes

Usage

Explore 8 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.

Accepted by parameters 1

Methods

public AsciiDocDocumentAttributes Apply(AsciiDocAttributeEntry entry, bool expandReferences = false) #

Applies an assignment or unset, optionally resolving value references against the preceding snapshot.

Parameters

entry OfficeIMO.AsciiDoc.AsciiDocAttributeEntry required
expandReferences bool = false optional
public bool Contains(string name) #

Tests whether an attribute is set.

Parameters

name string required

Returns

bool
public static AsciiDocDocumentAttributes Create(IReadOnlyDictionary<string, string>? values = null) #

Creates an attribute snapshot from caller-supplied values.

Parameters

values System.Collections.Generic.IReadOnlyDictionary<string, string>? = null optional
public string? GetValueOrDefault(string name) #

Gets an attribute value or null.

Parameters

name string required

Returns

string?
public bool TryGetValue(string name, out string value) #

Gets an attribute value when set.

Parameters

name string required
value string required

Returns

bool

Properties

public int Count { get; } #

Number of set attributes.

public IReadOnlyDictionary<string, string> Values { get; } #

Set attribute names and values.