Partager via


ModelingEditorFactory.GetItemErrorListProvider(IVsHierarchy, UInt32) Method

Definition

Get an error list provider for the specified project item (assumed to be a modeling doc data). If there is no existing error list provider for the item, then one is created.

public:
 Microsoft::VisualStudio::Modeling::Shell::ModelingErrorListProvider ^ GetItemErrorListProvider(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy, System::UInt32 itemId);
public Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListProvider GetItemErrorListProvider (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy, uint itemId);
member this.GetItemErrorListProvider : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 -> Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListProvider
Public Function GetItemErrorListProvider (hierarchy As IVsHierarchy, itemId As UInteger) As ModelingErrorListProvider

Parameters

hierarchy
IVsHierarchy

Project item hierarchy

itemId
UInt32

Id of the item in the hierarchy

Returns

New or existing ModelingErrorListProvider for the docdata

Applies to