ManagedProjectContext Constructor

Definition

Initializes a new instance of the ManagedProjectContext class.

public:
 ManagedProjectContext(System::String ^ projectFileName, System::String ^ language, System::Collections::Generic::IEnumerable<System::String ^> ^ commandLineArgs, System::String ^ projectDirectory);
public ManagedProjectContext (string projectFileName, string language, System.Collections.Generic.IEnumerable<string> commandLineArgs, string projectDirectory);
new Microsoft.VisualStudio.Workspace.Extensions.ManagedProjectContext : string * string * seq<string> * string -> Microsoft.VisualStudio.Workspace.Extensions.ManagedProjectContext
Public Sub New (projectFileName As String, language As String, commandLineArgs As IEnumerable(Of String), projectDirectory As String)

Parameters

projectFileName
String

The name of the project (the file name without extension).

language
String

A value from the managed LanguageNames.

commandLineArgs
IEnumerable<String>

The command line arguments that would be passed to the compiler.

projectDirectory
String

The workspace-relative path to the project directory.

Applies to