ColorableItem.GetDescription 方法

返回此可着色项的说明。

命名空间:  Microsoft.VisualStudio.Package
程序集:   Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)

语法

声明
Public Overridable Function GetDescription ( _
    <OutAttribute> ByRef desc As String _
) As Integer
public virtual int GetDescription(
    out string desc
)

参数

返回值

类型:System.Int32
如果成功,则返回; S_OK否则,返回错误代码。

实现

IVsMergeableUIItem.GetDescription(String%)

备注

此方法是 GetDescription 方法的实现。 IVsMergeableUIItem 接口的。

该基方法返回该声明 (核心文本编辑器不使用此值) 和 E_NOTIMPL成功代码的 null 值。

.NET Framework 安全性

请参见

参考

ColorableItem 类

Microsoft.VisualStudio.Package 命名空间