VsTextPackageClass.GetMarkerTypeCount Method
Returns the number of registered marker types within all buffers associated with the core text editor.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣告
Public Overridable Function GetMarkerTypeCount ( _
<OutAttribute> ByRef piMarkerTypeCount As Integer _
) As Integer
'用途
Dim instance As VsTextPackageClass
Dim piMarkerTypeCount As Integer
Dim returnValue As Integer
returnValue = instance.GetMarkerTypeCount(piMarkerTypeCount)
public virtual int GetMarkerTypeCount(
out int piMarkerTypeCount
)
public:
virtual int GetMarkerTypeCount(
[OutAttribute] int% piMarkerTypeCount
)
abstract GetMarkerTypeCount :
piMarkerTypeCount:int byref -> int
override GetMarkerTypeCount :
piMarkerTypeCount:int byref -> int
public function GetMarkerTypeCount(
piMarkerTypeCount : int
) : int
Parameters
- piMarkerTypeCount
Type: System.Int32%
Returns the number of registered marker types within all buffers associated with the core text editor.
Return Value
Type: System.Int32
Implements
IVsTextManager.GetMarkerTypeCount(Int32%)
.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.