VCCustomBuildRule.AddStringProperty Method

Adds a string property to the custom build rule with the given name.

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

Syntax

'Declaration
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

Parameters

Return Value

Type: Microsoft.VisualStudio.VCProjectEngine.VCRuntimeStringProperty
A VCRuntimeStringProperty object.

Remarks

AddStringProperty returns the new string property.

.NET Framework Security

See Also

Reference

VCCustomBuildRule Interface

Microsoft.VisualStudio.VCProjectEngine Namespace