Share via


IVsContextualIntellisenseFilter.IsTypeVisible(String, Int32) Method

Definition

Indicates whether or not the type is visible.

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

Parameters

szTypeName
String

[in] String containing the full name of the type to check.

pfVisible
Int32

[out] Pointer to a Boolean. Set to true if the member is visible.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsContextualIntellisenseFilter::IsTypeVisible(  
[in] LPCOLESTR szTypeName,   
[out] BOOL* pfVisible  
);  

Applies to