IVsSolution2.CreateSolution(String, String, UInt32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria uma nova solução.
public:
int CreateSolution(System::String ^ lpszLocation, System::String ^ lpszName, System::UInt32 grfCreateFlags);
public:
int CreateSolution(Platform::String ^ lpszLocation, Platform::String ^ lpszName, unsigned int grfCreateFlags);
int CreateSolution(std::wstring const & lpszLocation, std::wstring const & lpszName, unsigned int grfCreateFlags);
public int CreateSolution (string lpszLocation, string lpszName, uint grfCreateFlags);
abstract member CreateSolution : string * string * uint32 -> int
Public Function CreateSolution (lpszLocation As String, lpszName As String, grfCreateFlags As UInteger) As Integer
Parâmetros
- lpszLocation
- String
[in, Unique] Caminho para a solução, excluindo o nome do arquivo.
- lpszName
- String
no Nome do arquivo, excluindo a extensão.
- grfCreateFlags
- UInt32
[in, Unique] Controla como uma nova solução é criada. Para obter uma lista de grfCreateFlags valores, consulte __VSCREATESOLUTIONFLAGS .
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.
Implementações
Comentários
Assinatura COM
De VSShell. idl:
HRESULT IVsSolution2::CreateSolution(
[in, unique] LPCOLESTR lpszLocation,
[in, unique] LPCOLESTR lpszName,
[in] VSCREATESOLUTIONFLAGS grfCreateFlags
);