SourceInfo structure (xamlom.h)

Represents information about an object’s XAML source document.

Syntax

typedef struct SourceInfo {
  BSTR         FileName;
  unsigned int LineNumber;
  unsigned int ColumnNumber;
  unsigned int CharPosition;
  BSTR         Hash;
} SourceInfo;

Members

FileName

The name of the source document file where the element is declared.

LineNumber

The line number in the source document where the element is declared.

ColumnNumber

The position on the line in the source document where the element is declared.

CharPosition

The character position in the source document.

Hash

The hash of the source document.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header xamlom.h