IVsObjectBrowserDescription3.ClearDescriptionText Method
Clears the Object Browser description text.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function ClearDescriptionText As Integer
'用途
Dim instance As IVsObjectBrowserDescription3
Dim returnValue As Integer
returnValue = instance.ClearDescriptionText()
int ClearDescriptionText()
int ClearDescriptionText()
abstract ClearDescriptionText : unit -> int
function ClearDescriptionText() : int
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 vsshell80.idl:
HRESULT IVsObjectBrowserDescription3::ClearDescriptionText();
The environment passes a pointer to the IVsObjectBrowserDescription3 interface when it calls FillDescription on an item that the user has selected in the Object Browser. Call the ClearDescriptionText method to clear the IVsObjectBrowserDescription3 stream and reset it. You need to do this only if you have already written something to the IVsObjectBrowserDescription3 stream through AddDescriptionText3.
.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.
See Also
Reference
IVsObjectBrowserDescription3 Interface