Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DTE2.Properties Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)
Properties this[
	string Category,
	string Page
] { get; }

Parameters

Category
Type: System.String

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

Page
Type: System.String

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

Property Value

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

The environment-level properties are organized in 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(DTE2.Properties("Environment", "General").Count)
End Sub
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.