Partager via


AppliesToProjectAttribute(String) Constructor

Definition

Initializes a new instance of the AppliesToProjectAttribute class.

public:
 AppliesToProjectAttribute(System::String ^ appliesToExpression);
public AppliesToProjectAttribute (string appliesToExpression);
new Microsoft.VisualStudio.Utilities.AppliesToProjectAttribute : string -> Microsoft.VisualStudio.Utilities.AppliesToProjectAttribute
Public Sub New (appliesToExpression As String)

Parameters

appliesToExpression
String

An expression that indicates where this export should be applied. For example To declare an expression that supports (VisualC or Csharp) AND (MSTest or Nunit) use the following syntax: (VisualC | CSharp) + (MSTest | NUnit)

See the following URLs for expression syntax and supported operations https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.shell.interop.ivsbooleansymbolexpressionevaluator.evaluateexpression.aspx https://github.com/Microsoft/VSProjectSystem/blob/master/doc/overview/about_project_capabilities.md

Applies to