Metoda SolutionClass.AddFromTemplate —
Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Microsoft tylko do użytku wewnętrznego.
Przestrzeń nazw: EnvDTE
Zestaw: EnvDTE (w EnvDTE.dll)
Składnia
'Deklaracja
Public Overridable Function AddFromTemplate ( _
FileName As String, _
Destination As String, _
ProjectName As String, _
Exclusive As Boolean _
) As Project
public virtual Project AddFromTemplate(
string FileName,
string Destination,
string ProjectName,
bool Exclusive
)
public:
virtual Project^ AddFromTemplate(
[InAttribute] String^ FileName,
[InAttribute] String^ Destination,
[InAttribute] String^ ProjectName,
[InAttribute] bool Exclusive
)
abstract AddFromTemplate :
FileName:string *
Destination:string *
ProjectName:string *
Exclusive:bool -> Project
override AddFromTemplate :
FileName:string *
Destination:string *
ProjectName:string *
Exclusive:bool -> Project
public function AddFromTemplate(
FileName : String,
Destination : String,
ProjectName : String,
Exclusive : boolean
) : Project
Parametry
- FileName
Typ: System.String
- Destination
Typ: System.String
- ProjectName
Typ: System.String
- Exclusive
Typ: System.Boolean
Wartość zwracana
Typ: EnvDTE.Project
Implementuje
_Solution.AddFromTemplate(String, String, String, Boolean)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..