共用方式為


IVsTextStorage.Storage_GetLength Method

Gets the length of the storage.

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

Syntax

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

Return Value

Type: System.Int32
If the method succeeds, it returns the length of the storage.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextStorage::Storage_GetLength();

.NET Framework Security

See Also

Reference

IVsTextStorage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace