IVsWritableSettingsStore.CreateCollection Method
Creates a new collection.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function CreateCollection ( _
collectionPath As String _
) As Integer
int CreateCollection(
string collectionPath
)
int CreateCollection(
[InAttribute] String^ collectionPath
)
abstract CreateCollection :
collectionPath:string -> int
function CreateCollection(
collectionPath : String
) : int
Parameters
- collectionPath
Type: System.String
[in] The path at which the collection should be created.
Return Value
Type: System.Int32
If the full path to the collection already exists, returns S_OK. If the empty string is passed to the method, it returns E_INVALIDARG().
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.