共用方式為


IVsFindScope.EnumFilenames(IEnumString) Method

Definition

Enumerate filenames (full path only).

public:
 int EnumFilenames([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumString ^ % ppEnumString);
public:
 int EnumFilenames([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumString ^ &  ppEnumString);
int EnumFilenames([Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IEnumString const & & ppEnumString);
public int EnumFilenames (out Microsoft.VisualStudio.OLE.Interop.IEnumString ppEnumString);
abstract member EnumFilenames : IEnumString -> int
Public Function EnumFilenames (ByRef ppEnumString As IEnumString) As Integer

Parameters

ppEnumString
IEnumString

[out] Enumeration of filenames.

Returns

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  
);  

Applies to