API Reference

Class

ExcelCustomProperty

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

Represents a custom workbook property value.

Inheritance

  • Object
  • ExcelCustomProperty

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

ExcelCustomProperty 8 overloads
public ExcelCustomProperty() #

Creates an empty custom property.

public ExcelCustomProperty(Object value, ExcelCustomPropertyType propertyType) #

Creates a custom property with the specified value and type.

Parameters

value System.Object requiredposition: 0
propertyType OfficeIMO.Excel.ExcelCustomPropertyType requiredposition: 1
public ExcelCustomProperty(String value) #

Creates a string custom property.

Parameters

value System.String requiredposition: 0
public ExcelCustomProperty(Boolean value) #

Creates a boolean custom property.

Parameters

value System.Boolean requiredposition: 0
public ExcelCustomProperty(DateTime value) #

Creates a date/time custom property.

Parameters

value System.DateTime requiredposition: 0
public ExcelCustomProperty(Int32 value) #

Creates an integer custom property.

Parameters

value System.Int32 requiredposition: 0
public ExcelCustomProperty(Double value) #

Creates a floating point custom property.

Parameters

value System.Double requiredposition: 0
public ExcelCustomProperty(Byte[] value) #

Creates a binary custom property.

Parameters

value System.Byte[] requiredposition: 0

Properties

public Object Value { get; set; } #

Gets or sets the raw value of the custom property.

public ExcelCustomPropertyType PropertyType { get; set; } #

Gets the custom property value type.

public Nullable<DateTime> Date { get; } #

Gets the value as a date/time when the property type is a date.

public Nullable<Int32> NumberInteger { get; } #

Gets the value as an integer when the property type is an integer.

public Nullable<Double> NumberDouble { get; } #

Gets the value as a double when the property type is a floating point number.

public String Text { get; } #

Gets the value as text when the property type is textual.

public Nullable<Boolean> Bool { get; } #

Gets the value as a boolean when the property type is YesNo.

public Byte[] Binary { get; } #

Gets the value as binary data when the property type is Binary.