Condividi tramite


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

'Dichiarazione
Sub AddPlatform ( _
    PlatformName As String _
)
void AddPlatform(
    string PlatformName
)
void AddPlatform(
    [InAttribute] String^ PlatformName
)
abstract AddPlatform : 
        PlatformName:string -> unit 
function AddPlatform(
    PlatformName : String
)

Parameters

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

See Also

Reference

VCProject Interface

Microsoft.VisualStudio.VCProjectEngine Namespace