ClientBuildManager.GetCompilerParameters Yöntem

Tanım

Sanal yol tarafından temsil edilen bir dosya oluşturmak için kullanılan derleyici türünü ve parametrelerini döndürür.

public:
 void GetCompilerParameters(System::String ^ virtualPath, [Runtime::InteropServices::Out] Type ^ % codeDomProviderType, [Runtime::InteropServices::Out] System::CodeDom::Compiler::CompilerParameters ^ % compilerParameters);
public void GetCompilerParameters (string virtualPath, out Type codeDomProviderType, out System.CodeDom.Compiler.CompilerParameters compilerParameters);
member this.GetCompilerParameters : string * Type * CompilerParameters -> unit
Public Sub GetCompilerParameters (virtualPath As String, ByRef codeDomProviderType As Type, ByRef compilerParameters As CompilerParameters)

Parametreler

virtualPath
String

Dosyanın sanal yolu.

codeDomProviderType
Type

Bu yöntem döndür geldiğinde, kod oluşturma ve derleme için kullanılan sağlayıcı türünü içerir.

compilerParameters
CompilerParameters

Bu yöntem döndür geldiğinde, dosyanın nasıl derle olacağını tanımlayan özellikleri içerir.

Özel durumlar

virtualPath null olur.

Şunlara uygulanır

Ayrıca bkz.