Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AsciiDocDocumentAttributes

Namespace OfficeIMO.AsciiDoc
Assembly OfficeIMO.AsciiDoc
Modifiers sealed

Effective case-insensitive document attribute values.

Inheritance

  • Object
  • AsciiDocDocumentAttributes

Usage

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

Accepted by parameters

Methods

public AsciiDocDocumentAttributes Apply(AsciiDocAttributeEntry entry, Boolean expandReferences = false) #
Returns: AsciiDocDocumentAttributes

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

Parameters

entry OfficeIMO.AsciiDoc.AsciiDocAttributeEntry requiredposition: 0
expandReferences System.Boolean = false optionalposition: 1
public Boolean Contains(String name) #
Returns: Boolean

Tests whether an attribute is set.

Parameters

name System.String requiredposition: 0
public static AsciiDocDocumentAttributes Create(IReadOnlyDictionary<String, String> values = null) #
Returns: AsciiDocDocumentAttributes

Creates an attribute snapshot from caller-supplied values.

Parameters

values System.Collections.Generic.IReadOnlyDictionary{System.String,System.String} = null optionalposition: 0
public String GetValueOrDefault(String name) #
Returns: String

Gets an attribute value or null.

Parameters

name System.String requiredposition: 0
public Boolean TryGetValue(String name, out String value) #
Returns: Boolean

Gets an attribute value when set.

Parameters

name System.String requiredposition: 0
value System.String@ requiredposition: 1

Properties

public Int32 Count { get; } #

Number of set attributes.

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

Set attribute names and values.