API Reference
Class
AdfMark
An ADF text mark such as strong, emphasis, code, or link.
Inheritance
- Object
- AdfMark
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
- Method AdfMark.SetAttribute``1
- Method AdfMark.SetAttribute``1
- Property AdfNode.Marks
Accepted by parameters
- Method AdfNode.TextNode
Constructors
Methods
public String GetStringAttribute(String name) #Returns:
StringGets a string attribute when present.
Parameters
- name System.String
SetAttribute``1 2 overloads
public AdfMark SetAttribute<T>(String name, T value) #Returns:
AdfMarkSets a JSON-compatible mark attribute.
Type Parameters
- T
Parameters
- name System.String
- value ``0
public AdfMark SetAttribute<T>(String name, T value, JsonTypeInfo<T> typeInfo) #Returns:
AdfMarkSets a custom mark attribute using source-generated JSON metadata.
Type Parameters
- T
Parameters
- name System.String
- value ``0
- typeInfo System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0}
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object