VCProject.AddPlatform(String) Method

Definition

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.

Applies to