ClosureContextHelper.AddContextListData Method (ElementWalker, Object, Object)
Adds the data to the list in the walker's context object for a particular key. This will create the list if it doesn't exist.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Shared Sub AddContextListData ( _
walker As ElementWalker, _
key As Object, _
value As Object _
)
public static void AddContextListData(
ElementWalker walker,
Object key,
Object value
)
public:
static void AddContextListData(
ElementWalker^ walker,
Object^ key,
Object^ value
)
static member AddContextListData :
walker:ElementWalker *
key:Object *
value:Object -> unit
public static function AddContextListData(
walker : ElementWalker,
key : Object,
value : Object
)
Parameters
- walker
Type: Microsoft.VisualStudio.Modeling.ElementWalker
the walker that will hold the context data
- key
Type: System.Object
the key of the list
- value
Type: System.Object
the value to add to the list
.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.