NativeMethods.FindFirstFileEx, méthode
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function FindFirstFileEx ( _
lpFileName As String, _
fInfoLevelId As NativeMethods.FINDEX_INFO_LEVELS, _
ByRef lpFindFileData As NativeMethods.WIN32_FIND_DATA, _
fSearchOp As NativeMethods.FINDEX_SEARCH_OPS, _
lpSearchFilter As IntPtr, _
dwAdditionalFlags As UInteger _
) As NativeMethods.SafeFindHandle
public static NativeMethods.SafeFindHandle FindFirstFileEx(
string lpFileName,
NativeMethods.FINDEX_INFO_LEVELS fInfoLevelId,
ref NativeMethods.WIN32_FIND_DATA lpFindFileData,
NativeMethods.FINDEX_SEARCH_OPS fSearchOp,
IntPtr lpSearchFilter,
uint dwAdditionalFlags
)
Paramètres
- lpFileName
Type : System.String
- fInfoLevelId
Type : Microsoft.TeamFoundation.Common.Internal.NativeMethods.FINDEX_INFO_LEVELS
- lpFindFileData
Type : Microsoft.TeamFoundation.Common.Internal.NativeMethods.WIN32_FIND_DATA%
- lpSearchFilter
Type : System.IntPtr
- dwAdditionalFlags
Type : System.UInt32
Valeur de retour
Type : Microsoft.TeamFoundation.Common.Internal.NativeMethods.SafeFindHandle