次の方法で共有


VsTextManagerClass.AttemptToCheckOutBufferFromScc2 Method

Attempts to check out a file from source code control.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Overridable Function AttemptToCheckOutBufferFromScc2 ( _
    pszFileName As String, _
    <OutAttribute> ByRef pfCheckoutSucceeded As Integer, _
    <OutAttribute> ByRef piStatusFlags As Integer _
) As Integer
'Usage
Dim instance As VsTextManagerClass 
Dim pszFileName As String 
Dim pfCheckoutSucceeded As Integer 
Dim piStatusFlags As Integer 
Dim returnValue As Integer 

returnValue = instance.AttemptToCheckOutBufferFromScc2(pszFileName, _
    pfCheckoutSucceeded, piStatusFlags)
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
)
public function AttemptToCheckOutBufferFromScc2(
    pszFileName : String, 
    pfCheckoutSucceeded : int, 
    piStatusFlags : int
) : int

Parameters

  • pfCheckoutSucceeded
    Type: System.Int32%

    [out] Returns true if buffer checkout succeeded.

Return Value

Type: System.Int32

Implements

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

.NET Framework Security

See Also

Reference

VsTextManagerClass Class

VsTextManagerClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace