VsTextPackageClass::AttemptToCheckOutBufferFromScc2 Method (String^, Int32, Int32)
Visual Studio 2015
Attempts to check out a file from source code control.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int AttemptToCheckOutBufferFromScc2( String^ pszFileName, [OutAttribute] int% pfCheckoutSucceeded, [OutAttribute] int% piStatusFlags )
Parameters
- pszFileName
-
Type:
System::String^
[in] Filename to check out.
- pfCheckoutSucceeded
-
Type:
System::Int32
[out] Returns true if buffer checkout succeeded.
- piStatusFlags
-
Type:
System::Int32
[out]Additional status flags. This is the tagVSQueryEditResult value returned from a call to QueryEditFiles. If you pass in a value of null for this parameter, then a tagVSQueryEditResult flag is not returned.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: