# CslCitationItem

A reference to a bibliography item within a citation.

Class 

`OfficeIMO.Bibliography`

**Namespace**

`OfficeIMO.Bibliography`

**Assembly**

`OfficeIMO.Bibliography`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[CslModels.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L59)

**Modifiers**

sealed

A reference to a bibliography item within a citation.

## Inheritance

- object
- CslCitationItem

## Usage

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

- Property [CslCitation.Items](/api/bibliography/officeimo-bibliography-cslcitation/#property-items)

Filter members 

Show inherited

## Constructors

`public CslCitationItem(string key)` [#](#constructor-ctor-string)

[CslModels.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L59)

Creates a citation reference by its exact bibliography key.

Parameters

**key 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 Key { get; }` [#](#property-key)

[CslModels.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L55)

Bibliography key.

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

[CslModels.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L57)

Locator value, such as a page range.

`public string LocatorType { get; set; }` [#](#property-locatortype)

[CslModels.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L59)

Locator type. Defaults to page.

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

[CslModels.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L61)

Literal text before this reference.

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

[CslModels.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L63)

Literal text after this reference.

`public bool SuppressAuthor { get; set; }` [#](#property-suppressauthor)

[CslModels.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L65)

Omits the author when the surrounding prose names the author.

`public bool AuthorOnly { get; set; }` [#](#property-authoronly)

[CslModels.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L68)

Renders the style's first names expression for a narrative citation, using its substitutions and formatting.

<!-- PowerForge markdown artifact sha256:E6D48C8D2CB1A3278E72E946781D796834A8ABA937B7F006412DF75C5B467314 -->
