ModelingEditorFactory.GetItemErrorListProvider(IVsHierarchy, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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