共用方式為


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

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 IVsTextLineMarker::GetVisualStyle(
   [out] DWORD *pdwFlags
);

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

.NET Framework Security

See Also

Reference

IVsTextLineMarker Interface

GetVisualStyle Overload

Microsoft.VisualStudio.TextManager.Interop Namespace