ModelingProjectExtensions.GetLoadMessages<T> Method (IModelingProjectReader)
Gets any error messages generated when the IModelingProjectReader was used to read a model.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetLoadMessages(Of T As Class) ( _
modelingProject As IModelingProjectReader _
) As IEnumerable(Of T)
public static IEnumerable<T> GetLoadMessages<T>(
this IModelingProjectReader modelingProject
)
where T : class
[ExtensionAttribute]
public:
generic<typename T>
where T : ref class
static IEnumerable<T>^ GetLoadMessages(
IModelingProjectReader^ modelingProject
)
static member GetLoadMessages :
modelingProject:IModelingProjectReader -> IEnumerable<'T> when 'T : not struct
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- modelingProject
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.IModelingProjectReader
Return Value
Type: System.Collections.Generic.IEnumerable<T>
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IModelingProjectReader. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.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.
See Also
Reference
ModelingProjectExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility Namespace