VsIntellisenseCompletorClass.GetWidth Method
Returns the width of the completion span.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Public Overridable Function GetWidth ( _
ByRef dwWidth As UInteger _
) As Integer
public virtual int GetWidth(
ref uint dwWidth
)
public:
virtual int GetWidth(
unsigned int% dwWidth
)
abstract GetWidth :
dwWidth:uint32 byref -> int
override GetWidth :
dwWidth:uint32 byref -> int
public function GetWidth(
dwWidth : uint
) : int
Parameters
- dwWidth
Type: System.UInt32%
The width of the completion span.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsIntellisenseCompletor.GetWidth(UInt32%)
.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.