Freigeben über


ClosureContextHelper.SetContextData Method (ElementWalker, Object, Object)

Sets the data in the walker's context object for a particular key

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Shared Sub SetContextData ( _
    walker As ElementWalker, _
    key As Object, _
    value As Object _
)
public static void SetContextData(
    ElementWalker walker,
    Object key,
    Object value
)
public:
static void SetContextData(
    ElementWalker^ walker, 
    Object^ key, 
    Object^ value
)
static member SetContextData : 
        walker:ElementWalker * 
        key:Object * 
        value:Object -> unit
public static function SetContextData(
    walker : ElementWalker, 
    key : Object, 
    value : Object
)

Parameters

.NET Framework Security

See Also

Reference

ClosureContextHelper Class

SetContextData Overload

Microsoft.VisualStudio.Modeling Namespace