Sdílet prostřednictvím


IVsIntellisenseProjectHost.GetCompilerOptions(String) Method

Definition

Retrieves the current compiler options.

public:
 int GetCompilerOptions([Runtime::InteropServices::Out] System::String ^ % pbstrOptions);
int GetCompilerOptions([Runtime::InteropServices::Out] std::wstring const & & pbstrOptions);
public int GetCompilerOptions (out string pbstrOptions);
abstract member GetCompilerOptions : string -> int
Public Function GetCompilerOptions (ByRef pbstrOptions As String) As Integer

Parameters

pbstrOptions
String

[out] Pointer to a string containing the current compiler options.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to