Properties Interface
Contains all of the properties of a given object that are contained in a generic collection of properties.
Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)
Assembly: EnvDTE (in envdte.dll)
Sub PropertiesExample() 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