Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add a new item to the list.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub AddItem ( _
    newItem As ModelingErrorListItem _
)
public void AddItem(
    ModelingErrorListItem newItem
)
public:
void AddItem(
    ModelingErrorListItem^ newItem
)
member AddItem : 
        newItem:ModelingErrorListItem -> unit
public function AddItem(
    newItem : ModelingErrorListItem
)
Parameters
- newItem 
 Type: Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListItem- Item to be added. 
.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.