IVsTextMarker.GetVisualStyle Method

Returns the visual style of a marker type.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

声明
Function GetVisualStyle ( _
    <OutAttribute> ByRef pdwFlags As UInteger _
) As Integer
用法
Dim instance As IVsTextMarker
Dim pdwFlags As UInteger
Dim returnValue As Integer

returnValue = instance.GetVisualStyle(pdwFlags)
int GetVisualStyle(
    out uint pdwFlags
)
int GetVisualStyle(
    [OutAttribute] unsigned int% pdwFlags
)
abstract GetVisualStyle : 
        pdwFlags:uint32 byref -> int 
function GetVisualStyle(
    pdwFlags : uint
) : int

Parameters

  • pdwFlags
    Type: System.UInt32%
    [out] Pointer to a DWORD for the visual style flags. For a list of pdwFlags values, see MARKERVISUAL.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarker::GetVisualStyle(
   [out] DWORD *pdwFlags
);

Use this method to determine how a marker type is painted.

.NET Framework Security

See Also

Reference

IVsTextMarker Interface

IVsTextMarker Members

Microsoft.VisualStudio.TextManager.Interop Namespace