BuildMacroRequestEventArgs.ExcludeMacro Method
Excludes this macro from the list of macros that is shown to the user.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Sub ExcludeMacro ( _
macroName As String, _
priority As Integer _
)
public void ExcludeMacro(
string macroName,
int priority
)
public:
void ExcludeMacro(
String^ macroName,
int priority
)
member ExcludeMacro :
macroName:string *
priority:int -> unit
public function ExcludeMacro(
macroName : String,
priority : int
)
Parameters
- macroName
Type: System.String
The macro name to exclude.
- priority
Type: System.Int32
The priority of the request. A lower number indicates a higher priority.
.NET Framework Security
- 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.
See Also
Reference
BuildMacroRequestEventArgs Class
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace