VCCustomBuildRule.AddStringProperty 方法

添加一个字符串属性到具有给定名称的自定义生成规则。

命名空间:  Microsoft.VisualStudio.VCProjectEngine
程序集:  Microsoft.VisualStudio.VCProjectEngine(在 Microsoft.VisualStudio.VCProjectEngine.dll 中)

语法

声明
Function AddStringProperty ( _
    Name As String _
) As VCRuntimeStringProperty
VCRuntimeStringProperty AddStringProperty(
    string Name
)
VCRuntimeStringProperty^ AddStringProperty(
    [InAttribute] String^ Name
)
abstract AddStringProperty : 
        Name:string -> VCRuntimeStringProperty 
function AddStringProperty(
    Name : String
) : VCRuntimeStringProperty

参数

返回值

类型:Microsoft.VisualStudio.VCProjectEngine.VCRuntimeStringProperty
VCRuntimeStringProperty 对象。

备注

AddStringProperty 返回新字符串属性。

.NET Framework 安全性

请参见

参考

VCCustomBuildRule 接口

Microsoft.VisualStudio.VCProjectEngine 命名空间