# ExcelCustomPropertyFluent

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

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelCustomProperty](/api/excel/officeimo-excel-excelcustomproperty/), 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
- ExcelCustomPropertyFluent

Filter members 

Show inherited

## Methods

`public static ExcelCustomProperty PropertyType(ExcelCustomProperty excelCustomProperty, ExcelCustomPropertyType value)` [#](#method-propertytype-officeimo-excel-excelcustomproperty-officeimo-excel-excelcustompropertytype)

Sets [ExcelCustomProperty.PropertyType](/api/excel/officeimo-excel-excelcustomproperty/): Gets the custom property value type.

Parameters

**excelCustomProperty OfficeIMO.Excel.ExcelCustomProperty required**

The instance.

**value OfficeIMO.Excel.ExcelCustomPropertyType required**

The value.

Returns

`ExcelCustomProperty` The same instance.

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Excel.ExcelCustomProperty { PropertyType = value };    excelCustomProperty.PropertyType(value);
```

`public static ExcelCustomProperty Value(ExcelCustomProperty excelCustomProperty, object? value)` [#](#method-value-officeimo-excel-excelcustomproperty-object)

Sets [ExcelCustomProperty.Value](/api/excel/officeimo-excel-excelcustomproperty/): Gets or sets the raw value of the custom property.

Parameters

**excelCustomProperty OfficeIMO.Excel.ExcelCustomProperty required**

The instance.

**value object? required**

The value.

Returns

`ExcelCustomProperty` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Excel.ExcelCustomProperty { Value = value };    excelCustomProperty.Value(value);
```

## 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:E06E4A0498D9B0CFACD6644EFC7CBE05822337CE7F10AC9ED998A9070601E53A -->
