共用方式為


ICscHostObject.SetDisabledWarnings(String) Method

Definition

Specifies the list of warnings to disable.

public:
 bool SetDisabledWarnings(System::String ^ disabledWarnings);
public bool SetDisabledWarnings (string disabledWarnings);
abstract member SetDisabledWarnings : string -> bool
Public Function SetDisabledWarnings (disabledWarnings As String) As Boolean

Parameters

disabledWarnings
String

The list of warnings to disable. Multiple warnings are separated with a comma.

Returns

true if the method was successful; otherwise, false.

Applies to