IVsDifferenceCodeWindow.Caption Property

Gets or sets the caption for the diff window's document tab.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

'Declaration
Property Caption As String
string Caption { get; set; }
property String^ Caption {
    String^ get ();
    void set (String^ value);
}
abstract Caption : string with get, set
function get Caption () : String 
function set Caption (value : String)

Property Value

Type: String
The caption for the diff window's document tab..

Remarks

If null or empty, the default ("{0} vs. {1}") is used. The caption is formatted (replacing {0} with the name of the left file and {1} with the name of the right file).

.NET Framework Security

See Also

Reference

IVsDifferenceCodeWindow Interface

Microsoft.VisualStudio.Editor Namespace