Método VsTextManagerClass.AttemptToCheckOutBufferFromScc2
Tentativas de fazer check-out de um arquivo de controle de código fonte.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
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
Parâmetros
pszFileName
Tipo: String[in] Nome do arquivo para fazer check-out.
pfCheckoutSucceeded
Tipo: Int32%[out] Retorna true se check-out do buffer foi bem-sucedida.
piStatusFlags
Tipo: Int32%[out]Sinalizadores de status adicionais. Este é o tagVSQueryEditResult valor retornado de uma chamada para QueryEditFiles. Se você passar um valor de nulluma referência nula (Nothing no Visual Basic) para este parâmetro, e em seguida, um tagVSQueryEditResult sinalizador não será retornado.
Valor de retorno
Tipo: Int32
Implementações
IVsTextManager.AttemptToCheckOutBufferFromScc2(String, Int32%, Int32%)
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.