Compartilhar via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListProvider
New or existing ModelingErrorListProvider for the docdata

.NET Framework Security

See Also

Reference

ModelingEditorFactory Class

Microsoft.VisualStudio.Modeling.Shell Namespace