共用方式為


IVsCallBrowser.CanCreateNewInstance(Int32) Method

Definition

Returns true if you can create a new instance of the Call Browser.

public:
 int CanCreateNewInstance([Runtime::InteropServices::Out] int % pfOK);
int CanCreateNewInstance([Runtime::InteropServices::Out] int & pfOK);
public int CanCreateNewInstance (out int pfOK);
abstract member CanCreateNewInstance : int -> int
Public Function CanCreateNewInstance (ByRef pfOK As Integer) As Integer

Parameters

pfOK
Int32

[out] Boolean. Set to true if you can create a new instance of the CallBrowser.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsCallBrowser::CanCreateNewInstance(  
   [out] BOOL *pfOK  
);  

Applies to