Método IVsTextManager2.GetBufferSccStatus3
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintaxe
'Declaração
Function GetBufferSccStatus3 ( _
pBuffer As IVsTextBuffer, _
pszFileName As String, _
<OutAttribute> ByRef pbCheckoutSucceeded As Integer, _
<OutAttribute> ByRef piStatusFlags As Integer _
) As Integer
int GetBufferSccStatus3(
IVsTextBuffer pBuffer,
string pszFileName,
out int pbCheckoutSucceeded,
out int piStatusFlags
)
int GetBufferSccStatus3(
[InAttribute] IVsTextBuffer^ pBuffer,
[InAttribute] String^ pszFileName,
[OutAttribute] int% pbCheckoutSucceeded,
[OutAttribute] int% piStatusFlags
)
abstract GetBufferSccStatus3 :
pBuffer:IVsTextBuffer *
pszFileName:string *
pbCheckoutSucceeded:int byref *
piStatusFlags:int byref -> int
function GetBufferSccStatus3(
pBuffer : IVsTextBuffer,
pszFileName : String,
pbCheckoutSucceeded : int,
piStatusFlags : int
) : int
Parâmetros
pBuffer
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer[in] Ponteiro para o IVsTextBuffer interface.
pszFileName
Tipo: String[in] Nome do arquivo de interesse.
pbCheckoutSucceeded
Tipo: Int32%[out] true se o check-out bem-sucedida.
piStatusFlags
Tipo: Int32%[out] Para obter mais informações, consulte tagVSQueryEditResult.
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De textmgr.idl:
HRESULT IVsTextManager2::GetBufferSccStatus3(
[in] IVsTextBuffer *pBuffer,
[in] const WCHAR *pszFileName,
[out] BOOL *pbCheckoutSucceeded,
[out] int *piStatusFlags
);
GetBufferSccStatus3e AttemptToCheckOutBufferFromScc3 são o meio preferido para a interação com o SCC.
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.