VsTextManagerClass.GetMarkerTypeInterface Method
Maps a numeric marker type ID to an interface that can be used to probe for specific information.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Public Overridable Function GetMarkerTypeInterface ( _
iMarkerTypeID As Integer, _
<OutAttribute> ByRef ppMarkerType As IVsTextMarkerType _
) As Integer
'使用
Dim instance As VsTextManagerClass
Dim iMarkerTypeID As Integer
Dim ppMarkerType As IVsTextMarkerType
Dim returnValue As Integer
returnValue = instance.GetMarkerTypeInterface(iMarkerTypeID, _
ppMarkerType)
public virtual int GetMarkerTypeInterface(
int iMarkerTypeID,
out IVsTextMarkerType ppMarkerType
)
public:
virtual int GetMarkerTypeInterface(
[InAttribute] int iMarkerTypeID,
[OutAttribute] IVsTextMarkerType^% ppMarkerType
)
abstract GetMarkerTypeInterface :
iMarkerTypeID:int *
ppMarkerType:IVsTextMarkerType byref -> int
override GetMarkerTypeInterface :
iMarkerTypeID:int *
ppMarkerType:IVsTextMarkerType byref -> int
public function GetMarkerTypeInterface(
iMarkerTypeID : int,
ppMarkerType : IVsTextMarkerType
) : int
Parameters
- iMarkerTypeID
Type: System.Int32
[in] The marker type ID, such as from GetType.
- ppMarkerType
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerType%
[out] Pointer to the IVsTextMarkerType interface, which has been referenced with AddReferernce.
Return Value
Type: System.Int32
Implements
IVsTextManager.GetMarkerTypeInterface(Int32, IVsTextMarkerType%)
.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.