Share via


EditorFactoryPackage.IVsTextMarkerTypeProvider.GetTextMarkerType Method

Interop provider.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Private Function GetTextMarkerType ( _
    ByRef markerGuid As Guid, _
    <OutAttribute> ByRef vsTextMarker As IVsPackageDefinedTextMarkerType _
) As Integer Implements IVsTextMarkerTypeProvider.GetTextMarkerType
'Usage
Dim instance As EditorFactoryPackage 
Dim markerGuid As Guid 
Dim vsTextMarker As IVsPackageDefinedTextMarkerType 
Dim returnValue As Integer 

returnValue = CType(instance, IVsTextMarkerTypeProvider).GetTextMarkerType(markerGuid, _
    vsTextMarker)
int IVsTextMarkerTypeProvider.GetTextMarkerType(
    ref Guid markerGuid,
    out IVsPackageDefinedTextMarkerType vsTextMarker
)
private:
virtual int GetTextMarkerType(
    Guid% markerGuid, 
    [OutAttribute] IVsPackageDefinedTextMarkerType^% vsTextMarker
) sealed = IVsTextMarkerTypeProvider::GetTextMarkerType
private abstract GetTextMarkerType : 
        markerGuid:Guid byref * 
        vsTextMarker:IVsPackageDefinedTextMarkerType byref -> int  
private override GetTextMarkerType : 
        markerGuid:Guid byref * 
        vsTextMarker:IVsPackageDefinedTextMarkerType byref -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • vsTextMarker
    Type: IVsPackageDefinedTextMarkerType%
    A pointer to a Guid.

Return Value

Type: System.Int32
A defined integer value such as S_OK.

Implements

IVsTextMarkerTypeProviderGetTextMarkerType(Guid, IVsPackageDefinedTextMarkerType)

See Also

Reference

EditorFactoryPackage Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace