共用方式為


IVsPersistentTextImage.Image_GetLength Method

Gets the length of the text image.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Function Image_GetLength As Integer
int Image_GetLength()
int Image_GetLength()
abstract Image_GetLength : unit -> int 
function Image_GetLength() : int

Return Value

Type: System.Int32
Returns the number of Unicode characters in the image.

Remarks

COM Signature

From textmgr.idl:

long IVsPersistentTextImage::Image_GetLength();

.NET Framework Security

See Also

Reference

IVsPersistentTextImage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace