共用方式為


IVbcHostObject2.SetOptionInfer(Boolean) Method

Definition

Specifies a value indicating whether variable types must be explicitly declared.

public:
 bool SetOptionInfer(bool optionInfer);
public bool SetOptionInfer (bool optionInfer);
abstract member SetOptionInfer : bool -> bool
Public Function SetOptionInfer (optionInfer As Boolean) As Boolean

Parameters

optionInfer
Boolean

true to require the explicit declaration of variable types; otherwise, false.

Returns

true if the method was successful; otherwise, false.

Applies to