Configuration.ConfigurationName الخاصية
يتم تكوين مشروع إلى يتم إنشاؤها.
مساحة الاسم: EnvDTE
التجميع: EnvDTE (في EnvDTE.dll)
بناء الجملة
'إقرار
ReadOnly Property ConfigurationName As String
Get
string ConfigurationName { get; }
property String^ ConfigurationName {
String^ get ();
}
abstract ConfigurationName : string
function get ConfigurationName () : String
قيمة الخاصية
النوع: System.String
سلسلة أحرف يمثل اسم تكوين مشروع إلى يتم إنشاؤها.
ملاحظات
ConfigurationNameيمكن تعيينه إلى أي تكوين مشروع المعرفة المسماة بواسطةProjectNameخاصية.
أمثلة
Sub ConfigurationNameExample()
' Before running, load a project.
' Set references to all necessary objects.
Dim CM As ConfigurationManager = _
DTE.Solution.Projects.Item(1).ConfigurationManager
' List the configuration name used for the current project.
MsgBox(CM.Item(2).ConfigurationName)
End Sub
أمن NET Framework.
- الثقة الكاملة للمتصل الفوري. يتعذر استخدام هذا العضو بواسطة التعليمات البرمجية الموثوق بها جزئيًا. لمزيد من المعلومات، راجع باستخدام مكتبات من تعليمات برمجية موثوق بها جزئي.