ModelingEditorFactory.GetItemErrorListProvider Method
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.
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 Function GetItemErrorListProvider ( _
hierarchy As IVsHierarchy, _
itemId As UInteger _
) As ModelingErrorListProvider
public ModelingErrorListProvider GetItemErrorListProvider(
IVsHierarchy hierarchy,
uint itemId
)
public:
ModelingErrorListProvider^ GetItemErrorListProvider(
IVsHierarchy^ hierarchy,
unsigned int itemId
)
member GetItemErrorListProvider :
hierarchy:IVsHierarchy *
itemId:uint32 -> ModelingErrorListProvider
public function GetItemErrorListProvider(
hierarchy : IVsHierarchy,
itemId : uint
) : ModelingErrorListProvider
Parameters
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyProject item hierarchy
itemId
Type: System.UInt32Id of the item in the hierarchy
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListProvider
New or existing ModelingErrorListProvider for the docdata
.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.