DescriptionRun Constructor (String, Color)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the DescriptionRun class from the specified text, in the specified color.
Namespace: Microsoft.VisualStudio.Language.NavigateTo.Interfaces
Assembly: Microsoft.VisualStudio.Language.NavigateTo.Interfaces (in Microsoft.VisualStudio.Language.NavigateTo.Interfaces.dll)
Syntax
'Declaration
Public Sub New ( _
text As String, _
color As Color _
)
public DescriptionRun(
string text,
Color color
)
public:
DescriptionRun(
String^ text,
Color color
)
new :
text:string *
color:Color -> DescriptionRun
public function DescriptionRun(
text : String,
color : Color
)
Parameters
text
Type: System.StringThe text of the DescriptionRun.
color
Type: System.Drawing.ColorThe color of the DescriptionRun.
.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
Microsoft.VisualStudio.Language.NavigateTo.Interfaces Namespace