Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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: System.String
Required. 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.