Partager via


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: DependencyObject

    The element on which the property is to be set.

  • value
    Type: Boolean

    The value of the property to be set.

.NET Framework Security

See Also

Reference

CommandRouting Class

Microsoft.VisualStudio.Editor Namespace