'Declaration
Sub Add( _ ByVal name As String, _ Optional ByVal type As DocumentPropertyType, _ Optional ByVal value As Object _ )
'Usage
Dim instance As IDocumentProperties Dim name As String Dim type As DocumentPropertyType Dim value As Object instance.Add(name, type, value)
Parameters
- name
- The name of the document property.
- type
- The data type of the document property.
- value
- The data value of the document property. The value is converted to match the data type specified by the type argument, and if it can't be converted,
false
returned.