ClosureContextHelper.AddContextListData Method (ElementGroup, 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 does not exist.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Public Shared Sub AddContextListData ( _
elementGroup As ElementGroup, _
key As Object, _
value As Object _
)
public static void AddContextListData(
ElementGroup elementGroup,
Object key,
Object value
)
public:
static void AddContextListData(
ElementGroup^ elementGroup,
Object^ key,
Object^ value
)
static member AddContextListData :
elementGroup:ElementGroup *
key:Object *
value:Object -> unit
public static function AddContextListData(
elementGroup : ElementGroup,
key : Object,
value : Object
)
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
the elementGroup 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
Remarks
Adds the data to the list in the walker's context object for a particular key. This will create the list if it does not exist.
.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.