This documentation is archived and is not being maintained.

VCPropertySheet.AddUserMacro Method 

Adds a user macro to the property sheet.

Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in microsoft.visualstudio.vcprojectengine.dll)

VCUserMacro AddUserMacro (
	[InAttribute] string Name,
	[InAttribute] string Value
)
VCUserMacro AddUserMacro (
	/** @attribute InAttribute() */ String Name, 
	/** @attribute InAttribute() */ String Value
)
function AddUserMacro (
	Name : String, 
	Value : String
) : VCUserMacro

Parameters

Name

Name of the macro.

Value

Value of the replacement string.

Return Value

The VCUserMacro object.
Show: