Removes a user macro from the property sheet.
Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
声明
Sub RemoveUserMacro ( _
    UserMacro As VCUserMacro _
)
用法
Dim instance As VCPropertySheet
Dim UserMacro As VCUserMacro
instance.RemoveUserMacro(UserMacro)
void RemoveUserMacro(
    VCUserMacro UserMacro
)
void RemoveUserMacro(
    [InAttribute] VCUserMacro^ UserMacro
)
function RemoveUserMacro(
    UserMacro : VCUserMacro
)
Parameters
- UserMacro 
 Type: Microsoft.VisualStudio.VCProjectEngine.VCUserMacro- The user macro to remove. 
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.