IVsSccGlyphs.GetCustomGlyphList 方法

调用由 IDE 获取自定义标志符号图像进行源控件状态的列表。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
Function GetCustomGlyphList ( _
    BaseIndex As UInteger, _
    <OutAttribute> ByRef pdwImageListHandle As UInteger _
) As Integer
int GetCustomGlyphList(
    uint BaseIndex,
    out uint pdwImageListHandle
)

参数

  • BaseIndex
    类型:System.UInt32
    [in] 要添加的值,则返回标志符号索引时。
  • pdwImageListHandle
    类型:System.UInt32%
    [out] 为自定义图像处理的列表。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 ivssccglyphs.idl

HRESULT GetCustomGlyphList(
   [in] ULONG BaseIndex,
   [out] PDWORD_PTR pdwImageListHandle
);

如果稍后对 GetSccGlyph 方法返回值大于或等于 BaseIndex,则在自定义标志符号的 IDE 查找列出它从此方法接收在现有图像位置绘制状态图标列表。

.NET Framework 安全性

请参见

参考

IVsSccGlyphs 接口

Microsoft.VisualStudio.Shell.Interop 命名空间