Contains all of the properties of a given object that are contained in a generic collection of properties.
Assembly: EnvDTE (in EnvDTE.dll)
This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.
Gets a value indicating the number of objects in the collection.
Gets the top-level extensibility object.
Gets the immediate parent object of acollection.
Properties, to contain their property lists.contains properties of various kinds. It can contain project properties, item properties, solution properties, and so on. It is used in the properties of other interfaces, such as
Thecollection does not support statement completion, such as property members of objects. However, it does provide an easy way to expose many properties and iterate through them.
Sub PropertiesExample() ' Demonstrates how to programmatically access Tools Options ' properties using the Properties collection. Dim Props As Properties Dim PropObj As [Property] Dim NameValPair As String Props = DTE.Properties("Environment", "General") MsgBox("Tools – Options – Environment – General Properties Count = _ & Props.Count()) For Each PropObj In Props NameValPair = NameValPair & (PropObj.Name & "Value = " & _ PropObj.Value & microsoft.VisualBasic.ControlChars.CrLf) Next MsgBox(NameValPair) End Sub