共用方式為


VCPlatform.PlatformMacro 屬性

取得平台特有的巨集。

命名空間:  Microsoft.VisualStudio.VCProjectEngine
組件:  Microsoft.VisualStudio.VCProjectEngine (在 Microsoft.VisualStudio.VCProjectEngine.dll 中)

語法

'宣告
ReadOnly Property PlatformMacro ( _
    Index As Integer _
) As String
string this[
    int Index
] { get; }
property String^ PlatformMacro[[InAttribute] int Index] {
    String^ get ([InAttribute] int Index);
}
abstract PlatformMacro : 
        Index:int -> string with get
JScript 不支援索引屬性。

參數

  • Index
    型別:System.Int32
    要擷取之巨集的以零為起始的索引。

屬性值

型別:System.String
指定的巨集的文字表示。

.NET Framework 安全性

請參閱

參考

VCPlatform 介面

Microsoft.VisualStudio.VCProjectEngine 命名空間