共用方式為


UserContext.Add(String, String, UserContextType) Method

Definition

Adds a help element to the collection.

public:
 void Add(System::String ^ name, System::String ^ value, Microsoft::VisualStudio::Modeling::Design::UserContextType type);
public void Add (string name, string value, Microsoft.VisualStudio.Modeling.Design.UserContextType type);
member this.Add : string * string * Microsoft.VisualStudio.Modeling.Design.UserContextType -> unit
Public Sub Add (name As String, value As String, type As UserContextType)

Parameters

name
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