OleCommandTargetHelper.AddToFilterChain Method (CommandFilter, Boolean)
Adds a filter to the beginning or end of the chain.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub AddToFilterChain ( _
filter As CommandFilter, _
addToEnd As Boolean _
)
'Usage
Dim instance As OleCommandTargetHelper
Dim filter As CommandFilter
Dim addToEnd As Boolean
instance.AddToFilterChain(filter, addToEnd)
public void AddToFilterChain(
CommandFilter filter,
bool addToEnd
)
public:
void AddToFilterChain(
CommandFilter^ filter,
bool addToEnd
)
public function AddToFilterChain(
filter : CommandFilter,
addToEnd : boolean
)
member AddToFilterChain :
filter:CommandFilter *
addToEnd:bool -> unit
Parameters
- filter
Type: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.CommandFilter
The filter to add
- addToEnd
Type: System.Boolean
Specifies whether to add to the end
.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
OleCommandTargetHelper Members
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace