This documentation is archived and is not being maintained.

_DTE.Properties Property

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

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

Properties Properties [
	string Category,
	string Page
] { get; }
/** @property */
Properties get_Properties (String Category, String Page)

JScript supports the use of indexed properties, but not the declaration of new ones.



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

Property Value

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

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.

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