_DTE.Properties[String, String] _DTE.Properties[String, String] _DTE.Properties[String, String] _DTE.Properties[String, String] Property


Returns a Properties collection representing all available categories and subcategories contained in the Options dialog box on the Tools menu.

 property EnvDTE::Properties ^ Properties[System::String ^, System::String ^] { EnvDTE::Properties ^ get(System::String ^ Category, System::String ^ Page); };
[get: System.Runtime.InteropServices.DispId(212)]
public EnvDTE.Properties Properties[string Category, string Page] { get; }
member this.Properties(string * string) : EnvDTE.Properties
Public ReadOnly Property Properties(Category As String, Page As String) As Properties


String String String String

Required. The name of the property category, such as General or Text Editor.

String String String String

Optional. The name of the property page within the given Category, such as Keyboard.

Property Value

A Properties collection containing all available categories and subcategories in the IDE.


Sub PropertiesExample()  
  MsgBox(DTE.Properties("Environment", "General").Count)  
End Sub  


The environment-level properties are organized into categories. Within each category, there is a Properties collection for each package or service that contributes to the environment.

If the specified properties collection is not available, Properties returns NULL.

Applies to