ClosureContextHelper.SetContextData Method

Definition

Overloads

SetContextData(Object, Object)

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

SetContextData(ElementGroup, Object, Object)

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

SetContextData(ElementWalker, Object, Object)

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

SetContextData(Object, Object)

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

public:
 void SetContextData(System::Object ^ key, System::Object ^ value);
public void SetContextData (object key, object value);
member this.SetContextData : obj * obj -> unit
Public Sub SetContextData (key As Object, value As Object)

Parameters

key
Object

the key to set

value
Object

the value to set

Applies to

SetContextData(ElementGroup, Object, Object)

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

public:
 static void SetContextData(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup, System::Object ^ key, System::Object ^ value);
public static void SetContextData (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup, object key, object value);
static member SetContextData : Microsoft.VisualStudio.Modeling.ElementGroup * obj * obj -> unit
Public Shared Sub SetContextData (elementGroup As ElementGroup, key As Object, value As Object)

Parameters

elementGroup
ElementGroup

the elementGroup that will hold the context data

key
Object

the key to set

value
Object

the value to set

Applies to

SetContextData(ElementWalker, Object, Object)

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

public:
 static void SetContextData(Microsoft::VisualStudio::Modeling::ElementWalker ^ walker, System::Object ^ key, System::Object ^ value);
public static void SetContextData (Microsoft.VisualStudio.Modeling.ElementWalker walker, object key, object value);
static member SetContextData : Microsoft.VisualStudio.Modeling.ElementWalker * obj * obj -> unit
Public Shared Sub SetContextData (walker As ElementWalker, key As Object, value As Object)

Parameters

walker
ElementWalker

the walker that will hold the context data

key
Object

the key to set

value
Object

the value to set

Applies to