TextToolTipService.SetToolTipText Method
Sets the ToolTipText attribute to the specified value for the given element.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetToolTipText ( _
element As FrameworkElement, _
value As String _
)
public static void SetToolTipText(
FrameworkElement element,
string value
)
public:
static void SetToolTipText(
FrameworkElement^ element,
String^ value
)
static member SetToolTipText :
element:FrameworkElement *
value:string -> unit
public static function SetToolTipText(
element : FrameworkElement,
value : String
)
Parameters
element
Type: FrameworkElementThe element to set the ToolTipText attribute for.
value
Type: StringThe value to set the ToolTipText attribute to.
.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.