UserContextElement(String, String, UserContextType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a UserContextElement with the give parameters
public:
UserContextElement(System::String ^ attributeName, System::String ^ value, Microsoft::VisualStudio::Modeling::Design::UserContextType type);
public UserContextElement (string attributeName, string value, Microsoft.VisualStudio.Modeling.Design.UserContextType type);
new Microsoft.VisualStudio.Modeling.Design.UserContextElement : string * string * Microsoft.VisualStudio.Modeling.Design.UserContextType -> Microsoft.VisualStudio.Modeling.Design.UserContextElement
Public Sub New (attributeName As String, value As String, type As UserContextType)
Parameters
- attributeName
- String
Name of the filter attribute. Not used for keywords or F1 keywords.
- value
- String
Value of the keyword, F1 keyword, or attibute
- type
- UserContextType
Context element type: keyword, F1 keyword, or attribte