IVsPersistentTextImage.Image_LoadText Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function Image_LoadText ( _
pszText As String, _
iLength As Integer, _
dwFlags As UInteger _
) As Integer
'Usage
Dim instance As IVsPersistentTextImage
Dim pszText As String
Dim iLength As Integer
Dim dwFlags As UInteger
Dim returnValue As Integer
returnValue = instance.Image_LoadText(pszText, _
iLength, dwFlags)
int Image_LoadText(
string pszText,
int iLength,
uint dwFlags
)
int Image_LoadText(
[InAttribute] String^ pszText,
[InAttribute] int iLength,
[InAttribute] unsigned int dwFlags
)
abstract Image_LoadText :
pszText:string *
iLength:int *
dwFlags:uint32 -> int
function Image_LoadText(
pszText : String,
iLength : int,
dwFlags : uint
) : int
Parameters
- pszText
Type: System.String
[in]
- iLength
Type: System.Int32
[in]
- dwFlags
Type: System.UInt32
[in]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsPersistentTextImage::Image_LoadText(
[in] const WCHAR *pszText,
[in] INT iLength,
[in] DWORD dwFlags
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsPersistentTextImage Interface