Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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
IXamlFileInformationContext Interface
IXamlFileInformationContext Members