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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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.ElementWalkerthe walker that will hold the context data
key
Type: System.Objectthe key of the list
value
Type: System.Objectthe 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.