# ExcelCustomDocumentPropertyCollectionFluent

The fluent methods of ExcelCustomDocumentPropertyCollection, generated from its public properties: A property-named method sets a property and a singular-named…

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelCustomDocumentPropertyCollection](/api/excel/officeimo-excel-excelcustomdocumentpropertycollection/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- ExcelCustomDocumentPropertyCollectionFluent

Filter members 

Show inherited

## Methods

`public static ExcelCustomDocumentPropertyCollection Key(ExcelCustomDocumentPropertyCollection excelCustomDocumentPropertyCollection, string item)` [#](#method-key-officeimo-excel-excelcustomdocumentpropertycollection-string)

Adds an item to [ExcelCustomDocumentPropertyCollection.Keys](/api/excel/officeimo-excel-excelcustomdocumentpropertycollection/).

Parameters

**excelCustomDocumentPropertyCollection OfficeIMO.Excel.ExcelCustomDocumentPropertyCollection required**

The instance.

**item string required**

The item.

Returns

`ExcelCustomDocumentPropertyCollection` The same instance.

`public static ExcelCustomDocumentPropertyCollection Keys(ExcelCustomDocumentPropertyCollection excelCustomDocumentPropertyCollection, IEnumerable<string> items)` [#](#method-keys-officeimo-excel-excelcustomdocumentpropertycollection-collections-generic-ienumerable-system-string)

Adds items to [ExcelCustomDocumentPropertyCollection.Keys](/api/excel/officeimo-excel-excelcustomdocumentpropertycollection/).

Parameters

**excelCustomDocumentPropertyCollection OfficeIMO.Excel.ExcelCustomDocumentPropertyCollection required**

The instance.

**items System.Collections.Generic.IEnumerable<string> required**

The items, in order.

Returns

`ExcelCustomDocumentPropertyCollection` The same instance.

Value 2 overloads

`public static ExcelCustomDocumentPropertyCollection Value(ExcelCustomDocumentPropertyCollection excelCustomDocumentPropertyCollection, ExcelCustomProperty item)` [#](#method-value-officeimo-excel-excelcustomdocumentpropertycollection-officeimo-excel-excelcustomproperty)

Adds an item to [ExcelCustomDocumentPropertyCollection.Values](/api/excel/officeimo-excel-excelcustomdocumentpropertycollection/).

Parameters

**excelCustomDocumentPropertyCollection OfficeIMO.Excel.ExcelCustomDocumentPropertyCollection required**

The instance.

**item OfficeIMO.Excel.ExcelCustomProperty required**

The item.

Returns

`ExcelCustomDocumentPropertyCollection` The same instance.

`public static ExcelCustomDocumentPropertyCollection Value(ExcelCustomDocumentPropertyCollection excelCustomDocumentPropertyCollection, Action<ExcelCustomProperty> configure)` [#](#method-value-officeimo-excel-excelcustomdocumentpropertycollection-action-officeimo-excel-excelcustomproperty)

Creates an item, configures it and adds it to [ExcelCustomDocumentPropertyCollection.Values](/api/excel/officeimo-excel-excelcustomdocumentpropertycollection/).

Parameters

**excelCustomDocumentPropertyCollection OfficeIMO.Excel.ExcelCustomDocumentPropertyCollection required**

The instance.

**configure System.Action<OfficeIMO.Excel.ExcelCustomProperty> required**

Configures the new item before it is added.

Returns

`ExcelCustomDocumentPropertyCollection` The same instance.

`public static ExcelCustomDocumentPropertyCollection Values(ExcelCustomDocumentPropertyCollection excelCustomDocumentPropertyCollection, IEnumerable<ExcelCustomProperty> items)` [#](#method-values-officeimo-excel-excelcustomdocumentpropertycollection-collections-generic-ienumerable-officeimo-excel-excelcustomproperty)

Adds items to [ExcelCustomDocumentPropertyCollection.Values](/api/excel/officeimo-excel-excelcustomdocumentpropertycollection/).

Parameters

**excelCustomDocumentPropertyCollection OfficeIMO.Excel.ExcelCustomDocumentPropertyCollection required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Excel.ExcelCustomProperty> required**

The items, in order.

Returns

`ExcelCustomDocumentPropertyCollection` The same instance.

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

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