Class CustomDocumentProperties
Summary description for CustomDocumentProperties.
Inheritance
CustomDocumentProperties
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class CustomDocumentProperties : CollectionBaseEx<DocumentPropertyImpl>, IList<DocumentPropertyImpl>, ICollection<DocumentPropertyImpl>, IEnumerable<DocumentPropertyImpl>, IEnumerable, IParentApplication, ICloneParent, ICustomDocumentProperties
Constructors
CustomDocumentProperties(IApplication, object)
Default constructor.
Declaration
public CustomDocumentProperties(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | |
| object | parent |
Fields
CustomGuidString
Custom guid string.
Declaration
public const string CustomGuidString = "D5CDD505-2E9C-101B-9397-08002B2CF9AE"
Field Value
| Type |
|---|
| string |
GuidCustom
Guid used for parsing/serialization of custom properties.
Declaration
public static readonly Guid GuidCustom
Field Value
| Type |
|---|
| Guid |
Properties
this[string]
Returns single entry from the collection. Read-only.
Declaration
public IDocumentProperty this[string strName] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | strName |
Property Value
| Type |
|---|
| IDocumentProperty |
Methods
Add(string)
Adds element to the collection.
Declaration
public IDocumentProperty Add(string strName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strName | Property name to add. |
Returns
| Type | Description |
|---|---|
| IDocumentProperty | Newly created property. |
Contains(string)
Checks whether collection contains property with specified name.
Declaration
public bool Contains(string strName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strName | Name to check. |
Returns
| Type | Description |
|---|---|
| bool | True if property is contained by collection; false otherwise. |
GetProperty(string)
Returns custom property by name.
Declaration
public IDocumentProperty GetProperty(string strName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strName | Custom property. |
Returns
| Type | Description |
|---|---|
| IDocumentProperty | Custom property. |
OnClearComplete()
OnClear is invoked after Clear behavior.
Declaration
protected override void OnClearComplete()
Overrides
Parse(DocumentPropertyCollection)
Extract custom document properties.
Declaration
[CLSCompliant(false)]
public void Parse(DocumentPropertyCollection properties)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentPropertyCollection | properties |
Remove(string)
Removes specified object from the collection.
Declaration
public void Remove(string strName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strName | Property name. |
Serialize(PropertySection)
Serializes built-in properties.
Declaration
[CLSCompliant(false)]
public void Serialize(PropertySection section)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertySection | section |