共用方式為


VsTextImageClass.GetCharSize(Int32) Method

Definition

Returns the number of characters in the text image.

public:
 virtual int GetCharSize([Runtime::InteropServices::Out] int % pcch) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::GetCharSize;
public:
 virtual int GetCharSize([Runtime::InteropServices::Out] int % pcch);
 virtual int GetCharSize([Runtime::InteropServices::Out] int & pcch);
public virtual int GetCharSize (out int pcch);
abstract member GetCharSize : int -> int
override this.GetCharSize : int -> int
Public Overridable Function GetCharSize (ByRef pcch As Integer) As Integer

Parameters

pcch
Int32

[out] Pointer to a character count of the text image.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to