Método IVsTextImageUtilities.LoadTextFile
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
Function LoadTextFile ( _
pszFileName As String, _
vstffIn As UInteger, _
<OutAttribute> ByRef pvstffOut As UInteger, _
<OutAttribute> ByRef pbstr As String _
) As Integer
int LoadTextFile(
string pszFileName,
uint vstffIn,
out uint pvstffOut,
out string pbstr
)
int LoadTextFile(
[InAttribute] String^ pszFileName,
[InAttribute] unsigned int vstffIn,
[OutAttribute] unsigned int% pvstffOut,
[OutAttribute] String^% pbstr
)
abstract LoadTextFile :
pszFileName:string *
vstffIn:uint32 *
pvstffOut:uint32 byref *
pbstr:string byref -> int
function LoadTextFile(
pszFileName : String,
vstffIn : uint,
pvstffOut : uint,
pbstr : String
) : int
Parâmetros
pszFileName
Tipo: String[in] Nome do arquivo a ser carregado.
vstffIn
Tipo: UInt32[in] Instruções para o formato de detecção
pvstffOut
Tipo: UInt32%[out] Texto do arquivo.
pbstr
Tipo: String%[out]
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 textfind.idl:
HRESULT IVsTextImageUtilities::LoadTextFile(
[in] LPCOLESTR pszFilename,
[in] VSTFF vstffIn,
[out] VSTFF * pvstffOut,
[out, retval] BSTR * pbstr
);
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.