OutputGroup.DisplayName Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bu çıkış grubu için Kullanıcı arabiriminde kullanılan adı alır.
public:
property System::String ^ default { System::String ^ get(); };
public:
property Platform::String ^ default { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(0)]
public string this { [System.Runtime.InteropServices.DispId(0)] get; }
[<System.Runtime.InteropServices.DispId(0)>]
[<get: System.Runtime.InteropServices.DispId(0)>]
member this.DisplayName : string
Default Public ReadOnly Property DisplayName As String
Özellik Değeri
Bu çıkış grubu için Kullanıcı arabiriminde kullanılan adı temsil eden bir dize.
- Öznitelikler
Örnekler
Sub DisplayNameExample(ByVal dte As DTE2)
' Before running this example, open a project.
Dim proj As Project = dte.Solution.Projects.Item(1)
Dim groups As OutputGroups = _
proj.ConfigurationManager.ActiveConfiguration.OutputGroups
Dim group As OutputGroup
Dim msg As String = proj.Name & _
" has the following output groups:" & vbCrLf & vbCrLf
For Each group In groups
msg &= " " & group.DisplayName & vbCrLf
Next
MsgBox(msg)
End Sub
public void DisplayNameExample(DTE2 dte)
{
// Before running this example, open a project.
Project proj = dte.Solution.Projects.Item(1);
OutputGroups groups =
proj.ConfigurationManager.ActiveConfiguration.OutputGroups;
string msg = proj.Name + " has the following output groups:\n\n";
foreach (OutputGroup group in groups)
msg += " " + group.DisplayName + "\n";
MessageBox.Show(msg);
}
Açıklamalar
DisplayName ortamda gösterildiği gibi çıkış grubunun adını döndürür.