VCProject.AddPlatform(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a platform to the current project (not enabled for Visual C++).
public:
void AddPlatform(System::String ^ PlatformName);
public:
void AddPlatform(Platform::String ^ PlatformName);
void AddPlatform(std::wstring const & PlatformName);
[System.Runtime.InteropServices.DispId(811)]
public void AddPlatform (string PlatformName);
[<System.Runtime.InteropServices.DispId(811)>]
abstract member AddPlatform : string -> unit
Public Sub AddPlatform (PlatformName As String)
Parameters
- PlatformName
- String
Required. The platform name.
- Attributes
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.