共用方式為


IVsFindScope.EnumFilenames Method

Enumerate filenames (full path only).

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

Syntax

'宣告
Function EnumFilenames ( _
    <OutAttribute> ByRef ppEnumString As IEnumString _
) As Integer
int EnumFilenames(
    out IEnumString ppEnumString
)
int EnumFilenames(
    [OutAttribute] IEnumString^% ppEnumString
)
abstract EnumFilenames : 
        ppEnumString:IEnumString byref -> int 
function EnumFilenames(
    ppEnumString : IEnumString
) : int

Parameters

Return Value

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

Remarks

Implement only one of GetQuery or EnumFilenames.

COM Signature

From textfind.idl:

HRESULT IVsFindScope::EnumFilenames(
   [out,retval] IEnumString **ppEnumString
);

.NET Framework Security

See Also

Reference

IVsFindScope Interface

Microsoft.VisualStudio.TextManager.Interop Namespace