Share via


IXamlFileInformationContext.GetMessages Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Retrieves a list of the error and warning messages generated by the last parse of the file.

Namespace:  Microsoft.Xaml
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
Function GetMessages As IMarkupErrorMessage()
'Usage
Dim instance As IXamlFileInformationContext 
Dim returnValue As IMarkupErrorMessage()

returnValue = instance.GetMessages()
IMarkupErrorMessage[] GetMessages()
array<IMarkupErrorMessage^>^ GetMessages()
function GetMessages() : IMarkupErrorMessage[]

Return Value

Type: array<Microsoft.Windows.Design.Documents.IMarkupErrorMessage[]
An array of error and warning messages.

Remarks

If there are pending errors, the validity of the information returned by other methods might be suspect.

.NET Framework Security

See Also

Reference

IXamlFileInformationContext Interface

IXamlFileInformationContext Members

Microsoft.Xaml Namespace

Other Resources

WPF Designer Extensibility