IVsWritableSettingsStore.CreateCollection(String) Yöntem

Tanım

Yeni bir koleksiyon oluşturur.

public:
 int CreateCollection(System::String ^ collectionPath);
public:
 int CreateCollection(Platform::String ^ collectionPath);
int CreateCollection(std::wstring const & collectionPath);
public int CreateCollection (string collectionPath);
abstract member CreateCollection : string -> int
Public Function CreateCollection (collectionPath As String) As Integer

Parametreler

collectionPath
String

'ndaki Koleksiyonun oluşturulması gereken yol.

Döndürülenler

Int32

Koleksiyonun tam yolu zaten mevcutsa, döndürür S_OK . Eğer boş dize yöntemine geçirilirse, döndürür Microsoft.VisualStudio.E_INVALIDARG .

Şunlara uygulanır