VCProject.AddPlatform Method
Adds a platform to the current project (not enabled for Visual C++).
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Sub AddPlatform ( _
PlatformName As String _
)
void AddPlatform(
string PlatformName
)
void AddPlatform(
[InAttribute] String^ PlatformName
)
abstract AddPlatform :
PlatformName:string -> unit
function AddPlatform(
PlatformName : String
)
Parameters
PlatformName
Type: StringRequired. The platform name.
Remarks
For Visual C++, only the Win32 platform, which is part of every project, is supported.
The Platforms property returns the platforms for which this project can be built.
.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.