Solution3.FullName Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft den vollständigen Pfad und Namen der Objektdatei ab.
public:
property System::String ^ FullName { System::String ^ get(); };
public:
property Platform::String ^ FullName { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(28)]
public string FullName { [System.Runtime.InteropServices.DispId(28)] get; }
[<System.Runtime.InteropServices.DispId(28)>]
[<get: System.Runtime.InteropServices.DispId(28)>]
member this.FullName : string
Public ReadOnly Property FullName As String
Eigenschaftswert
Ruft eine Zeichenfolge ab, die den vollständigen Pfad und Namen der Objektdatei darstellt.
Implementiert
- Attribute
Beispiele
Sub SolutionCountExample(ByVal dte As DTE2)
' Counts the projects in a solution.
' Open a solution in Visual Studio before running this
' example.
Try
Dim soln As Solution3 = CType(_applicationObject.Solution, _
Solution3)
' List the number of projects.
MsgBox("Number of projects in" & soln.FullName & " is: " _
& vbCr & soln.Count)
Catch ex As System.Exception
MsgBox(ex.ToString)
End Try
End Sub
using System.Windows.Forms;
public void SolutionCount(DTE2 dte)
{
// Count the projects in a solution.
// Open a soultion in Visual Studio before running this
// example.
Try
{
Solution3 soln = (Solution3)_applicationObject.Solution;
// List the number of projects.
MessageBox.Show("Number of projects in" + soln.FullName
+ " is: " + "\n" + soln.Count);
}
catch(SystemException ex)
{
MessageBox.Show("ERROR: " + ex);
}
}
Hinweise
Die- FullName Eigenschaft wird FileName in einigen Versionen von als-Eigenschaft bezeichnet Visual Studio .