IVsTextImageUtilities.LoadTextImageFromFile Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣告
Function LoadTextImageFromFile ( _
pszFileName As String, _
pImage As IVsTextImage, _
vstffIn As UInteger, _
<OutAttribute> ByRef pvstffOut As UInteger _
) As Integer
'用途
Dim instance As IVsTextImageUtilities
Dim pszFileName As String
Dim pImage As IVsTextImage
Dim vstffIn As UInteger
Dim pvstffOut As UInteger
Dim returnValue As Integer
returnValue = instance.LoadTextImageFromFile(pszFileName, _
pImage, vstffIn, pvstffOut)
int LoadTextImageFromFile(
string pszFileName,
IVsTextImage pImage,
uint vstffIn,
out uint pvstffOut
)
int LoadTextImageFromFile(
[InAttribute] String^ pszFileName,
[InAttribute] IVsTextImage^ pImage,
[InAttribute] unsigned int vstffIn,
[OutAttribute] unsigned int% pvstffOut
)
abstract LoadTextImageFromFile :
pszFileName:string *
pImage:IVsTextImage *
vstffIn:uint32 *
pvstffOut:uint32 byref -> int
function LoadTextImageFromFile(
pszFileName : String,
pImage : IVsTextImage,
vstffIn : uint,
pvstffOut : uint
) : int
Parameters
- pszFileName
Type: System.String
[in]
- pImage
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextImage
[in]
- vstffIn
Type: System.UInt32
[in]
- pvstffOut
Type: System.UInt32%
[out]
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 textfind.idl:
HRESULT IVsTextImageUtilities::LoadTextImageFromFile(
[in] LPCOLESTR pszFilename,
[in] IVsTextImage * pImage,
[in] VSTFF vstffIn
[out, retval] VSTFF * pvstffOut
);
.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.