CustomDocumentPropertyCollection.Add

Add(string, string)

Creates a new custom document property of the PropertyType.String data type.

public DocumentProperty Add(string name, string value)
ParameterTypeDescription
nameStringThe name of the property.
valueStringThe value of the property.

Return Value

The newly created property object.

See Also


Add(string, int)

Creates a new custom document property of the PropertyType.Number data type.

public DocumentProperty Add(string name, int value)
ParameterTypeDescription
nameStringThe name of the property.
valueInt32The value of the property.

Return Value

The newly created property object.

See Also


Add(string, DateTime)

Creates a new custom document property of the PropertyType.DateTime data type.

public DocumentProperty Add(string name, DateTime value)
ParameterTypeDescription
nameStringThe name of the property.
valueDateTimeThe value of the property.

Return Value

The newly created property object.

See Also


Add(string, bool)

Creates a new custom document property of the PropertyType.Boolean data type.

public DocumentProperty Add(string name, bool value)
ParameterTypeDescription
nameStringThe name of the property.
valueBooleanThe value of the property.

Return Value

The newly created property object.

See Also


Add(string, double)

Creates a new custom document property of the PropertyType.Float data type.

public DocumentProperty Add(string name, double value)
ParameterTypeDescription
nameStringThe name of the property.
valueDoubleThe value of the property.

Return Value

The newly created property object.

See Also