Class ContentTypeProperty
Class ContentTypeProperty
Namespace: Aspose.Cells.Properties
Assembly: Aspose.Cells.dll (25.2.0)
Represents identifier information.
public class ContentTypeProperty
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Examples
//Instantiating a Workbook object
Workbook workbook = new Workbook();
//Add a new property.
workbook.ContentTypeProperties.Add("Admin", "Aspose", "text");
//Save the Excel file
workbook.Save("book1.xlsm");
'Instantiating a Workbook object
Dim workbook As Workbook = New Workbook()
'Add a new property.
workbook.ContentTypeProperties.Add("Admin", "Aspose", "text")
'Save the Excel file
workbook.Save("book1.xlsm")
Properties
IsNillable
Indicates whether the value could be empty.
public bool IsNillable { get; set; }
Property Value
Name
Returns or sets the name of the object.
public string Name { get; set; }
Property Value
Type
Gets and sets the type of the property.
public string Type { get; set; }
Property Value
Value
Returns or sets the value of the content type property.
public string Value { get; set; }