共用方式為


IVsTextStreamMarker.GetVisualStyle Method (UInt32%)

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
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.

Implements

IVsTextMarker.GetVisualStyle(UInt32%)

Remarks

COM Signature

From textmgr.idl:

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

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

.NET Framework Security

See Also

Reference

IVsTextStreamMarker Interface

GetVisualStyle Overload

Microsoft.VisualStudio.TextManager.Interop Namespace