VariantObjectCollection object
The VariantObjectCollection object contains abstract methods and properties that manage a generic collection. This object is inherited by the following objects:
- ApplicationSpecificDataItemCollection
- ExcludedApplicationCollection
- ExcludedUserAccountCollection
- RightsTemplateCollection
- StringCollection
- TemplateLocaleNameCollection
- TemplateSummaryCollection
- TrustedPublishingDomainCollection
- TrustedUserDomainCollection
- UserRightsItemCollection
Members
The VariantObjectCollection object has these types of members:
Methods
The VariantObjectCollection object has these methods.
Method | Description |
---|---|
Add | Adds an object to the collection (inherited from IList). |
Clear | Removes all objects from the collection (inherited from IList). |
Contains | Determines whether the collection contains a specific object (inherited from IList). |
CopyTo | Copies the collection elements to an array, starting at a specified index (inherited from ICollection). |
IndexOf | Retrieves the index of a specific object in the collection (inherited from IList). |
Insert | Inserts an object in the collection at the specified index (inherited from IList). |
Remove | Removes the first occurrence of the specified object from the collection (inherited from IList). |
RemoveAt | Removes the object at the specified index from the collection (inherited from IList). |
Properties
The VariantObjectCollection object has these properties.
Property | Description |
---|---|
Count |
Retrieves the number of objects contained in the collection (inherited from ICollection). |
Item |
Specifies or retrieves the object at the specified index (inherited from IList). |
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 |
Assembly |
|