NativeMethods.CopyFileEx, 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 CopyFileEx ( _
    lpExistingFileName As String, _
    lpNewFileName As String, _
    lpProgressRoutine As IntPtr, _
    lpData As IntPtr, _
    pbCancel As IntPtr, _
    dwCopyFlags As UInteger _
) As Boolean
public static bool CopyFileEx(
    string lpExistingFileName,
    string lpNewFileName,
    IntPtr lpProgressRoutine,
    IntPtr lpData,
    IntPtr pbCancel,
    uint dwCopyFlags
)

Paramètres

Valeur de retour

Type : System.Boolean

Voir aussi

Référence

NativeMethods Classe

Microsoft.TeamFoundation.Common.Internal, espace de noms