Freigeben über


IVsContextualIntellisenseFilter.IsTypeVisible Method

Indicates whether or not the type is visible.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function IsTypeVisible ( _
    szTypeName As String, _
    <OutAttribute> ByRef pfVisible As Integer _
) As Integer
int IsTypeVisible(
    string szTypeName,
    out int pfVisible
)
int IsTypeVisible(
    [InAttribute] String^ szTypeName, 
    [OutAttribute] int% pfVisible
)
abstract IsTypeVisible : 
        szTypeName:string * 
        pfVisible:int byref -> int
function IsTypeVisible(
    szTypeName : String, 
    pfVisible : int
) : int

Parameters

  • szTypeName
    Type: String

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

  • pfVisible
    Type: Int32%

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

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsContextualIntellisenseFilter Interface

Microsoft.VisualStudio.Shell.Interop Namespace