# ContentLineProperty

One ordered property in an iCalendar component or vCard.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[ContentLineProperty.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L5)

**Modifiers**

sealed

One ordered property in an iCalendar component or vCard.

## Inheritance

- object
- ContentLineProperty

## Usage

Explore 17 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 14

- Extension method [ContentLineComponent.AddRecurrenceRule](/api/email/officeimo-email-contentlinecomponent/#extension-addrecurrencerule-officeimo-email-contentlinecomponent-officeimo-email-icsrecurrencerule)
- Extension method [ContentLineComponent.AddVCardText](/api/email/officeimo-email-contentlinecomponent/#extension-addvcardtext-officeimo-email-contentlinecomponent-string-string)
- Extension method [ContentLineComponent.SetTemporalValue](/api/email/officeimo-email-contentlinecomponent/#extension-settemporalvalue-officeimo-email-contentlinecomponent-string-officeimo-email-icstemporalvalue)
- Extension method [ContentLineComponent.SetVCardText](/api/email/officeimo-email-contentlinecomponent/#extension-setvcardtext-officeimo-email-contentlinecomponent-string-string)
- Method [ContentLineComponent.AddProperty](/api/email/officeimo-email-contentlinecomponent/#method-addproperty-string-string)
- Method [ContentLineComponent.GetFirstProperty](/api/email/officeimo-email-contentlinecomponent/#method-getfirstproperty-string)
- Method [ContentLineComponent.GetProperties](/api/email/officeimo-email-contentlinecomponent/#method-getproperties-string)
- Method [ContentLineComponent.SetProperty](/api/email/officeimo-email-contentlinecomponent/#method-setproperty-string-string)
- Property [ContentLineComponent.Properties](/api/email/officeimo-email-contentlinecomponent/#property-properties)
- Method [ContentLineProperty.SetParameter](/api/email/officeimo-email-contentlineproperty/#method-setparameter-string-string)
- Method [IcsComponentExtensions.AddRecurrenceRule](/api/email/officeimo-email-icscomponentextensions/#method-addrecurrencerule-officeimo-email-contentlinecomponent-officeimo-email-icsrecurrencerule)
- Method [IcsComponentExtensions.SetTemporalValue](/api/email/officeimo-email-icscomponentextensions/#method-settemporalvalue-officeimo-email-contentlinecomponent-string-officeimo-email-icstemporalvalue)
- Method [VCardComponentExtensions.AddVCardText](/api/email/officeimo-email-vcardcomponentextensions/#method-addvcardtext-officeimo-email-contentlinecomponent-string-string)
- Method [VCardComponentExtensions.SetVCardText](/api/email/officeimo-email-vcardcomponentextensions/#method-setvcardtext-officeimo-email-contentlinecomponent-string-string)

### Accepted by parameters 3

- Method [IcsTemporalValue.ApplyTo](/api/email/officeimo-email-icstemporalvalue/#method-applyto-officeimo-email-contentlineproperty) parameter `property`
- Method [IcsTemporalValue.Parse](/api/email/officeimo-email-icstemporalvalue/#method-parse-officeimo-email-contentlineproperty) parameter `property`
- Method [IcsTemporalValue.TryParse](/api/email/officeimo-email-icstemporalvalue/#method-tryparse-officeimo-email-contentlineproperty-officeimo-email-icstemporalvalue) parameter `property`

Filter members 

Show inherited

## Constructors

`public ContentLineProperty(string name, string value = "")` [#](#constructor-ctor-string-string)

[ContentLineProperty.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L5)

Creates a property with its raw, still format-escaped value.

Parameters

**name string required**

**value string = "" optional**

## Methods

`public ContentLineParameter? GetParameter(string name)` [#](#method-getparameter-string)

[ContentLineProperty.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L26)

Returns the first parameter matching name.

Parameters

**name string required**

Returns

`ContentLineParameter?`

`public ContentLineProperty SetParameter(string name, params string[] values)` [#](#method-setparameter-string-string)

[ContentLineProperty.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L31)

Replaces every matching parameter with one parameter containing the supplied values.

Parameters

**name string required**

**values string[] required**

Returns

`ContentLineProperty`

## 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? Group { get; set; }` [#](#property-group)

[ContentLineProperty.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L14)

Optional vCard property group.

`public string Name { get; set; }` [#](#property-name)

[ContentLineProperty.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L17)

Property name. Names are compared case-insensitively by lookup helpers.

`public IList<ContentLineParameter> Parameters { get; }` [#](#property-parameters)

[ContentLineProperty.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L20)

Ordered parameters, including repeated parameter names.

`public string Value { get; set; }` [#](#property-value)

[ContentLineProperty.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/ContentLines/ContentLineProperty.cs#L23)

Raw property value after the first unquoted colon.

<!-- PowerForge markdown artifact sha256:3B560BD3448BFB2448446F94284908C5F410729BEF1946D37CCCC3B8EDABB18B -->
