IVsCfgProvider2.AddCfgsOfPlatformName Method
Copies an existing platform name or creates a new one.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function AddCfgsOfPlatformName ( _
pszPlatformName As String, _
pszClonePlatformName As String _
) As Integer
int AddCfgsOfPlatformName(
string pszPlatformName,
string pszClonePlatformName
)
int AddCfgsOfPlatformName(
[InAttribute] String^ pszPlatformName,
[InAttribute] String^ pszClonePlatformName
)
abstract AddCfgsOfPlatformName :
pszPlatformName:string *
pszClonePlatformName:string -> int
function AddCfgsOfPlatformName(
pszPlatformName : String,
pszClonePlatformName : String
) : int
Parameters
pszPlatformName
Type: String[in] Pointer to the name of the new platform.
pszClonePlatformName
Type: String[in] Pointer to the name of the platform to copy, or nulla null reference (Nothing in Visual Basic), indicating that AddCfgsOfPlatformName should create a new platform.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsCfgProvider2::AddCfgsOfPlatformName(
[in] LPCOLESTR pszPlatformName,
[in] LPCOLESTR pszClonePlatformName
);
.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.