CommandRouting.SetInterceptsCommandRouting Method
Sets the value of the InterceptsCommandRouting on a DependencyObject.
Namespace: Microsoft.VisualStudio.Editor
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Syntax
'Declaration
Public Shared Sub SetInterceptsCommandRouting ( _
element As DependencyObject, _
value As Boolean _
)
public static void SetInterceptsCommandRouting(
DependencyObject element,
bool value
)
public:
static void SetInterceptsCommandRouting(
DependencyObject^ element,
bool value
)
static member SetInterceptsCommandRouting :
element:DependencyObject *
value:bool -> unit
public static function SetInterceptsCommandRouting(
element : DependencyObject,
value : boolean
)
Parameters
element
Type: DependencyObjectThe element on which the property is to be set.
value
Type: BooleanThe value of the property to be set.
.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.