VCPropertySheet.AddUserMacro(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a user macro to the property sheet.
public:
Microsoft::VisualStudio::VCProjectEngine::VCUserMacro ^ AddUserMacro(System::String ^ Name, System::String ^ Value);
public:
Microsoft::VisualStudio::VCProjectEngine::VCUserMacro ^ AddUserMacro(Platform::String ^ Name, Platform::String ^ Value);
Microsoft::VisualStudio::VCProjectEngine::VCUserMacro AddUserMacro(std::wstring const & Name, std::wstring const & Value);
[System.Runtime.InteropServices.DispId(612)]
public Microsoft.VisualStudio.VCProjectEngine.VCUserMacro AddUserMacro (string Name, string Value);
[<System.Runtime.InteropServices.DispId(612)>]
abstract member AddUserMacro : string * string -> Microsoft.VisualStudio.VCProjectEngine.VCUserMacro
Public Function AddUserMacro (Name As String, Value As String) As VCUserMacro
Parameters
- Name
- String
Name of the macro.
- Value
- String
Value of the replacement string.
Returns
The VCUserMacro object.
- Attributes