Share via


UserContextElement(String, String, UserContextType) Constructor

Definition

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

Applies to