OutputWindowDefinition Class |
Namespace: Tvl.VisualStudio.OutputWindow.Interfaces
The OutputWindowDefinition type exposes the following members.
Name | Description | |
---|---|---|
OutputWindowDefinition | Initializes a new instance of the OutputWindowDefinition class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DisplayName |
Gets the display name of the output window pane.
|
[Export] [Name("Custom")] private static readonly OutputWindowDefinition CustomOutputWindowDefinition;
The following example shows how to export a custom output window pane with the canonical name Custom and a localized display name defined in an SR resources class.
[Export] [Name("Custom")] private static readonly OutputWindowDefinition _customOutputWindowDefinition = new CustomOutputWindowDefinition(); private sealed class CustomOutputWindowDefinition : OutputWindowDefinition { public override string DisplayName { get { return SR.CustomOutputWindowName; } } }