Share via


DescriptionRun Class

Represents a single description text run.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Language.NavigateTo.Interfaces.DescriptionRun

Namespace:  Microsoft.VisualStudio.Language.NavigateTo.Interfaces
Assembly:  Microsoft.VisualStudio.Language.NavigateTo.Interfaces (in Microsoft.VisualStudio.Language.NavigateTo.Interfaces.dll)

Syntax

'Declaration
Public NotInheritable Class DescriptionRun
public sealed class DescriptionRun
public ref class DescriptionRun sealed
[<Sealed>]
type DescriptionRun =  class end
public final class DescriptionRun

The DescriptionRun type exposes the following members.

Constructors

  Name Description
Public method DescriptionRun(String) Initializes a new instance of the DescriptionRun class from the specified text.
Public method DescriptionRun(String, Boolean) Initializes a new instance of the DescriptionRun class from the specified text and the specified bold parameter.
Public method DescriptionRun(String, Color) Initializes a new instance of the DescriptionRun class from the specified text, in the specified color.
Public method DescriptionRun(String, Color, Boolean, Boolean, Boolean) Initializes a new instance of the DescriptionRun class from the specified text, using the specified color and formatting parameters.

Top

Properties

  Name Description
Public property Bold Gets a value that indicates whether the DescriptionRun is formatted in bold.
Public property Color Gets the color of the DescriptionRun.
Public property Italic Gets a value that indicates whether the DescriptionRun is italic.
Public property Text Gets the text of the DescriptionRun.
Public property Underline Gets a value that indicates whether the DescriptionRun is underlined.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Language.NavigateTo.Interfaces Namespace