共用方式為


IVsExternalFilesManager.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

'宣告
Function IsVisible ( _
    <OutAttribute> ByRef pfVisible As Integer _
) As Integer
'用途
Dim instance As IVsExternalFilesManager
Dim pfVisible As Integer
Dim returnValue As Integer

returnValue = instance.IsVisible(pfVisible)
int IsVisible(
    out int pfVisible
)
int IsVisible(
    [OutAttribute] int% pfVisible
)
abstract IsVisible : 
        pfVisible:int byref -> int 
function IsVisible(
    pfVisible : int
) : int

Parameters

  • pfVisible
    Type: System.Int32%
    [out] Boolean. true if the node is visible, false if it is not.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsExternalFilesManager Interface

IVsExternalFilesManager Members

Microsoft.VisualStudio.Shell.Interop Namespace