IVsPersistentTextImage.Image_LoadText, méthode

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Function Image_LoadText ( _
    pszText As String, _
    iLength As Integer, _
    dwFlags As UInteger _
) As Integer
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

Paramètres

  • pszText
    Type : String

    [in]

  • iLength
    Type : Int32

    [in]

  • dwFlags
    Type : UInt32

    [in]

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsPersistentTextImage::Image_LoadText(
   [in] const WCHAR *pszText,
   [in] INT iLength,
   [in] DWORD dwFlags
);

Sécurité .NET Framework

Voir aussi

Référence

IVsPersistentTextImage Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms