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