Add, CustomProperties
The Add method of a CustomProperties collection creates a new Property object, adds it to the collection, and returns a reference to the object. This method applies only to CustomProperties collections.
Syntax
Set vnt = colCPcollection.Add(Value, [Name], [DataType])
- vnt
- A variant variable that receives the instance of the new Property object. Instead of a variant, you can use a variable that has been declared as type DSO.Property to match the object being retrieved from the collection.
- colCPcollection
- An instance of a CustomProperties collection.
- Name
- Optional. A string that specifies the name of the Property object.
- DataType
- The data type of the property. A Microsoft® Visual Basic® data type specified by VbVarType (a Visual Basic enumeration).
(c) 1988-1998 Microsoft Corporation. All Rights Reserved.