指定された名前のカスタム ビルド規則に、列挙型プロパティを追加します。
名前空間 : Microsoft.VisualStudio.VCProjectEngine
アセンブリ : Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll 内)
構文
'宣言
Function AddEnumProperty ( _
Name As String _
) As VCRuntimeEnumProperty
'使用
Dim instance As VCCustomBuildRule
Dim Name As String
Dim returnValue As VCRuntimeEnumProperty
returnValue = instance.AddEnumProperty(Name)
VCRuntimeEnumProperty AddEnumProperty(
string Name
)
VCRuntimeEnumProperty^ AddEnumProperty(
[InAttribute] String^ Name
)
function AddEnumProperty(
Name : String
) : VCRuntimeEnumProperty
パラメータ
Name
型 : System.String列挙型プロパティの名前。
戻り値
型 : Microsoft.VisualStudio.VCProjectEngine.VCRuntimeEnumProperty
VCRuntimeEnumProperty オブジェクト。
解説
AddEnumProperty は、新しい列挙型プロパティを返します。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。