IVsAtomicTextProvider.GetAtomFlags Method
Gets the type of atom it is (glyph, text, or default).
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
Function GetAtomFlags ( _
<OutAttribute> ByRef pdwFlags As UInteger _
) As Integer
int GetAtomFlags(
out uint pdwFlags
)
int GetAtomFlags(
[OutAttribute] unsigned int% pdwFlags
)
abstract GetAtomFlags :
pdwFlags:uint32 byref -> int
function GetAtomFlags(
pdwFlags : uint
) : int
Parameters
- pdwFlags
Type: System.UInt32%
[out] A flag from AtomicTextProviderFlags.
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 textmgr2.idl:
HRESULT IVsAtomicTextProvider::GetAtomFlags(
[out] DWORD *pdwFlags
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.