VsTextPackageClass.AttemptToCheckOutBufferFromScc2, méthode

Tente au contrôle qu'un fichier de code source contrôlent.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Public Overridable Function AttemptToCheckOutBufferFromScc2 ( _
    pszFileName As String, _
    <OutAttribute> ByRef pfCheckoutSucceeded As Integer, _
    <OutAttribute> ByRef piStatusFlags As Integer _
) As Integer
public virtual int AttemptToCheckOutBufferFromScc2(
    string pszFileName,
    out int pfCheckoutSucceeded,
    out int piStatusFlags
)
public:
virtual int AttemptToCheckOutBufferFromScc2(
    [InAttribute] String^ pszFileName, 
    [OutAttribute] int% pfCheckoutSucceeded, 
    [OutAttribute] int% piStatusFlags
)
abstract AttemptToCheckOutBufferFromScc2 : 
        pszFileName:string * 
        pfCheckoutSucceeded:int byref * 
        piStatusFlags:int byref -> int  
override AttemptToCheckOutBufferFromScc2 : 
        pszFileName:string * 
        pfCheckoutSucceeded:int byref * 
        piStatusFlags:int byref -> int
public function AttemptToCheckOutBufferFromScc2(
    pszFileName : String, 
    pfCheckoutSucceeded : int, 
    piStatusFlags : int
) : int

Paramètres

  • pszFileName
    Type : String

    [in] nom de fichier au contrôle.

  • pfCheckoutSucceeded
    Type : Int32%

    [] retourne true si l'extraction de mémoire tampon a réussi.

  • piStatusFlags
    Type : Int32%

    [] balises supplémentaires d'état. Il s'agit de la valeur d'tagVSQueryEditResult retournée d'un appel à l'QueryEditFiles. Si vous passez en valeur d'nullune référence null (Nothing en Visual Basic) pour ce paramètre, ensuite une balise d'tagVSQueryEditResult n'est pas retournée.

Valeur de retour

Type : Int32

Implémentations

IVsTextManager.AttemptToCheckOutBufferFromScc2(String, Int32%, Int32%)

Sécurité .NET Framework

Voir aussi

Référence

VsTextPackageClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms