[]
Adds a document property of the Boolean data type into the collection.
public DocumentProperty Add(string name, bool value)
Public Function Add(name As String, value As Boolean) As DocumentProperty
Type | Name | Description |
---|---|---|
string | name | The name of the document property. |
bool | value | The value for the document property. |
Type | Description |
---|---|
DocumentProperty | A DocumentProperty object that represents the new property. |
Adds a document property of the DateTime data type into the collection.
public DocumentProperty Add(string name, DateTime value)
Public Function Add(name As String, value As Date) As DocumentProperty
Type | Name | Description |
---|---|---|
string | name | The name of the document property. |
DateTime | value | The value for the document property. |
Type | Description |
---|---|
DocumentProperty | A DocumentProperty object that represents the new property. |
Adds a document property of the Double data type into the collection.
public DocumentProperty Add(string name, double value)
Public Function Add(name As String, value As Double) As DocumentProperty
Type | Name | Description |
---|---|---|
string | name | The name of the document property. |
double | value | The value for the document property. |
Type | Description |
---|---|
DocumentProperty | A DocumentProperty object that represents the new property. |
Adds a document property of the Number data type into the collection.
public DocumentProperty Add(string name, int value)
Public Function Add(name As String, value As Integer) As DocumentProperty
Type | Name | Description |
---|---|---|
string | name | The name of the document property. |
int | value | The value for the document property. |
Type | Description |
---|---|
DocumentProperty | A DocumentProperty object that represents the new property. |
Adds a document property of the String data type into the collection.
public DocumentProperty Add(string name, string value)
Public Function Add(name As String, value As String) As DocumentProperty
Type | Name | Description |
---|---|---|
string | name | The name of the document property. |
string | value | The value for the document property. |
Type | Description |
---|---|
DocumentProperty | A DocumentProperty object that represents the new property. |