مشاركة عبر


_Solution.Create أسلوب

Creates an فارغ الحل في the specified الدليل مع the specified اسم.

مساحة الاسم:  EnvDTE
التجميع:  EnvDTE (في EnvDTE.dll)

بناء الجملة

'إقرار
Sub Create ( _
    Destination As String, _
    Name As String _
)
void Create(
    string Destination,
    string Name
)
void Create(
    String^ Destination, 
    String^ Name
)
abstract Create : 
        Destination:string * 
        Name:string -> unit 
function Create(
    Destination : String, 
    Name : String
)

المعلمات

  • Destination
    النوع: System.String
    مطلوبة.The الدليل في which إلى إنشاء the .sln و .suo (الحل) ملفات.
  • Name
    النوع: System.String
    مطلوبة.The اسم إلى عرض في الحل مستكشف.This هو also the الأساس اسم of the .sln و .suo ملفات.

أمثلة

Sub CreateExample()
   ' Open a solution before running this example.
   Dim soln As Solution

   ' Create a reference to the solution.
   soln = DTE.Solution

   ' Create a new solution.
   soln.Create("c:\temp", "ANewSoln.sln")
End Sub

أمن NET Framework.

راجع أيضًَا

المرجع

_Solution واجهة

_Solution الأعضاء

EnvDTE مساحة الاسم