共用方式為


IVsExternalFilesManager2.IsVisible Method

Determines whether the Miscellaneous Files node is visible in Solution Explorer.

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

Syntax

'Declaration
Function IsVisible ( _
    <OutAttribute> ByRef pfVisible As Integer _
) As Integer
int IsVisible(
    out int pfVisible
)
int IsVisible(
    [OutAttribute] int% pfVisible
)
abstract IsVisible : 
        pfVisible:int byref -> int
function IsVisible(
    pfVisible : int
) : int

Parameters

  • pfVisible
    Type: Int32%

    [out] Boolean. true if the node is visible, false if it is not.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsExternalFilesManager2::IsVisible(
   [out] BOOL *pfVisible
);

.NET Framework Security

See Also

Reference

IVsExternalFilesManager2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace