TextToolTipService.SetToolTipText Method
Sets the ToolTipText attribute to the specified value for the given element.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
Public Shared Sub SetToolTipText ( _
element As FrameworkElement, _
value As String _
)
public static void SetToolTipText(
FrameworkElement element,
string value
)
Parameters
- element
Type: System.Windows.FrameworkElement
The element to set the ToolTipText attribute for.
- value
Type: System.String
The 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.