共用方式為


IVsAtomicTextProvider.GetAtomAttributes Method

Gets the attributes of the atom

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

Syntax

'宣告
Function GetAtomAttributes ( _
    dwLength As UInteger, _
    <OutAttribute> pColorAttr As UInteger() _
) As Integer
int GetAtomAttributes(
    uint dwLength,
    uint[] pColorAttr
)
int GetAtomAttributes(
    [InAttribute] unsigned int dwLength, 
    [OutAttribute] array<unsigned int>^ pColorAttr
)
abstract GetAtomAttributes : 
        dwLength:uint32 * 
        pColorAttr:uint32[] byref -> int 
function GetAtomAttributes(
    dwLength : uint, 
    pColorAttr : uint[]
) : int

Parameters

  • pColorAttr
    Type: array<System.UInt32[]
    An array of color attributes.

Return Value

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

.NET Framework Security

See Also

Reference

IVsAtomicTextProvider Interface

Microsoft.VisualStudio.TextManager.Interop Namespace