# HtmlCssSyntaxNode

Base type for a node in the lossless CSS syntax model.

Class 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssSyntaxNode.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L94)

**Modifiers**

abstract

Base type for a node in the lossless CSS syntax model.

## Inheritance

- object
- HtmlCssSyntaxNode

## Derived Types

- [HtmlCssComponentValue](/api/html-core/officeimo-html-css-htmlcsscomponentvalue/)
- [HtmlCssDeclaration](/api/html-core/officeimo-html-css-htmlcssdeclaration/)
- [HtmlCssInvalidSyntax](/api/html-core/officeimo-html-css-htmlcssinvalidsyntax/)
- [HtmlCssRule](/api/html-core/officeimo-html-css-htmlcssrule/)

## Usage

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

- Property [HtmlCssAtRule.Contents](/api/html-core/officeimo-html-css-htmlcssatrule/#property-contents)
- Property [HtmlCssQualifiedRule.Contents](/api/html-core/officeimo-html-css-htmlcssqualifiedrule/#property-contents)
- Property [HtmlCssRule.Contents](/api/html-core/officeimo-html-css-htmlcssrule/#property-contents)
- Property [HtmlCssStyleBlock.Contents](/api/html-core/officeimo-html-css-htmlcssstyleblock/#property-contents)
- Property [HtmlCssStyleSheet.Contents](/api/html-core/officeimo-html-css-htmlcssstylesheet/#property-contents)
- Property [HtmlCssSyntaxDocument.Contents](/api/html-core/officeimo-html-css-htmlcsssyntaxdocument/#property-contents)

Filter members 

Show inherited

## Methods

`public string GetText()` [#](#method-gettext)

[HtmlCssSyntaxNode.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L94)

Returns the exact authored text represented by this node.

Returns

`string`

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

[HtmlCssSyntaxNode.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L96)

Returns a string that represents the current object.

Returns

`string` A string that represents the current object.

## 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`

## Properties

`public HtmlCssSyntaxKind Kind { get; }` [#](#property-kind)

[HtmlCssSyntaxNode.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L88)

Syntax category.

`public HtmlCssSourceSpan Span { get; }` [#](#property-span)

[HtmlCssSyntaxNode.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L90)

Exact range in the original source.

<!-- PowerForge markdown artifact sha256:6F64EFD15EDEA8F724C766A8F43213B0F517477D4CBDC9E03699181D784AA00C -->
