ColorableItem.GetDescription Method
Returns a description for this colorable item.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaración
Public Overridable Function GetDescription ( _
<OutAttribute> ByRef desc As String _
) As Integer
public virtual int GetDescription(
out string desc
)
Parameters
- desc
Type: System.String%
[out] A string containing a description.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Implements
IVsMergeableUIItem.GetDescription(String%)
Remarks
This method is an implementation of the GetDescription method in the IVsMergeableUIItem interface.
The base method returns a null value for the description (the core text editor does not use this value) and a success code of E_NOTIMPL.
.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.