Поделиться через


VCProject.AddPlatform - метод

Adds a platform to the current project (not enabled for Visual C++).

Пространство имен:  Microsoft.VisualStudio.VCProjectEngine
Сборка:  Microsoft.VisualStudio.VCProjectEngine (в Microsoft.VisualStudio.VCProjectEngine.dll)

Синтаксис

'Декларация
Sub AddPlatform ( _
    PlatformName As String _
)
'Применение
Dim instance As VCProject
Dim PlatformName As String

instance.AddPlatform(PlatformName)
void AddPlatform(
    string PlatformName
)
void AddPlatform(
    [InAttribute] String^ PlatformName
)
function AddPlatform(
    PlatformName : String
)

Параметры

  • PlatformName
    Тип: System.String

    Required. The platform name.

Заметки

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.

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Ссылки

VCProject Интерфейс

VCProject - члены

Microsoft.VisualStudio.VCProjectEngine - пространство имен