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
'Déclaration
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
- ppEnumString
Type: Microsoft.VisualStudio.OLE.Interop.IEnumString%
[out] Enumeration of filenames.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.