Export (0) Print
Expand All

IVsCfgProvider2.AddCfgsOfCfgName Method

Copies an existing configuration name or creates a new one.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int AddCfgsOfCfgName (
	[InAttribute] string pszCfgName,
	[InAttribute] string pszCloneCfgName,
	[InAttribute] int fPrivate
)
int AddCfgsOfCfgName (
	/** @attribute InAttribute() */ String pszCfgName, 
	/** @attribute InAttribute() */ String pszCloneCfgName, 
	/** @attribute InAttribute() */ int fPrivate
)
function AddCfgsOfCfgName (
	pszCfgName : String, 
	pszCloneCfgName : String, 
	fPrivate : int
) : int

Parameters

pszCfgName

[in] Pointer to the name of the new configuration.

pszCloneCfgName

[in] Pointer to the name of the configuration to copy, or a null reference (Nothing in Visual Basic), indicating that AddCfgsOfCfgName should create a new configuration.

fPrivate

[in] Flag indicating whether or not the new configuration is private. If fPrivate is set to true, the configuration is private. If set to false, the configuration is public. This flag can be ignored.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsCfgProvider2::AddCfgsOfCfgName(
   [in] LPCOLESTR pszCfgName,
   [in] LPCOLESTR pszCloneCfgName,
   [in]BOOL fPrivate
);

Community Additions

ADD
Show:
© 2014 Microsoft