共用方式為


VCPlatform.PlatformMacro Property

Gets a platform specific macro.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'宣告
ReadOnly Property PlatformMacro ( _
    Index As Integer _
) As String
    Get
string this[
    int Index
] { get; }
property String^ PlatformMacro[[InAttribute] int Index] {
    String^ get ([InAttribute] int Index);
}
abstract PlatformMacro : string
JScript does not support indexed properties.

Parameters

  • Index
    Type: System.Int32
    Zero based index of the macro to retrieve.

Property Value

Type: System.String
The textual representation of the specified macro.

.NET Framework Security

See Also

Reference

VCPlatform Interface

Microsoft.VisualStudio.VCProjectEngine Namespace