# OpmlOutline

An OPML outline element backed by its lossless XML node.

Class 

`OfficeIMO.Opml`

**Namespace**

`OfficeIMO.Opml`

**Assembly**

`OfficeIMO.Opml`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OpmlOutline.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L45)

**Modifiers**

sealed

An OPML outline element backed by its lossless XML node.

## Inheritance

- object
- OpmlOutline

## Usage

Explore 4 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 4

- Method [OpmlDocument.AddOutline](/api/opml/officeimo-opml-opmldocument/#method-addoutline-string)
- Property [OpmlDocument.Outlines](/api/opml/officeimo-opml-opmldocument/#property-outlines)
- Method [OpmlOutline.AddChild](/api/opml/officeimo-opml-opmloutline/#method-addchild-string)
- Property [OpmlOutline.Children](/api/opml/officeimo-opml-opmloutline/#property-children)

Filter members 

Show inherited

## Methods

`public OpmlOutline AddChild(string text)` [#](#method-addchild-string)

[OpmlOutline.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L45)

Adds a nested outline.

Parameters

**text string required**

Returns

`OpmlOutline`

`public string? GetAttribute(XName name)` [#](#method-getattribute-xml-linq-xname)

[OpmlOutline.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L52)

Gets any standard or extension attribute.

Parameters

**name System.Xml.Linq.XName required**

Returns

`string?`

`public void Remove()` [#](#method-remove)

[OpmlOutline.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L63)

Removes this outline from its parent.

`public void SetAttribute(XName name, string? value)` [#](#method-setattribute-xml-linq-xname-string)

[OpmlOutline.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L56)

Sets or removes any standard or extension attribute.

Parameters

**name System.Xml.Linq.XName required**

**value string? required**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Text { get; set; }` [#](#property-text)

[OpmlOutline.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L16)

Required outline label.

`public string? Type { get; set; }` [#](#property-type)

[OpmlOutline.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L18)

Outline type, including subscription types such as rss.

`public string? XmlUrl { get; set; }` [#](#property-xmlurl)

[OpmlOutline.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L20)

Subscription feed URL.

`public string? HtmlUrl { get; set; }` [#](#property-htmlurl)

[OpmlOutline.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L22)

Subscription website URL.

`public string? Url { get; set; }` [#](#property-url)

[OpmlOutline.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L24)

Link/include URL.

`public string? Description { get; set; }` [#](#property-description)

[OpmlOutline.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L26)

Subscription description.

`public string? Title { get; set; }` [#](#property-title)

[OpmlOutline.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L28)

Subscription title.

`public string? Language { get; set; }` [#](#property-language)

[OpmlOutline.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L30)

Subscription language.

`public string? Version { get; set; }` [#](#property-version)

[OpmlOutline.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L32)

Subscription format version.

`public string? Category { get; set; }` [#](#property-category)

[OpmlOutline.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L34)

Category path.

`public string? Created { get; set; }` [#](#property-created)

[OpmlOutline.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L36)

Creation date in producer text form.

`public IReadOnlyDictionary<XName, string> Attributes { get; }` [#](#property-attributes)

[OpmlOutline.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L39)

All attributes, including qualified extension attributes.

`public IReadOnlyList<OpmlOutline> Children { get; }` [#](#property-children)

[OpmlOutline.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Opml/OpmlOutline.cs#L41)

Nested outlines in document order.

<!-- PowerForge markdown artifact sha256:42ADC67A38E75B43FEA695F2FAEA5060FEDF7353FDA2BBD54958290EDD5B73BC -->
