Share via


IXamlFileInformationContext.GetSemanticRanges Method

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

Get a list of the changes that were made in the update information since the last time this method was called.

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

Syntax

'Declaration
Function GetSemanticRanges As SemanticRange()
'Usage
Dim instance As IXamlFileInformationContext 
Dim returnValue As SemanticRange()

returnValue = instance.GetSemanticRanges()
SemanticRange[] GetSemanticRanges()
array<SemanticRange>^ GetSemanticRanges()
function GetSemanticRanges() : SemanticRange[]

Return Value

Type: array<Microsoft.Xaml.SemanticRange[]
Returns a list of range changes since the last time this method was called. If this is the first time GetSemanticRanges is called, it will return the range values for the entire file as insert range updates.

Remarks

Calling this method two times in a row, without a call to the Update method, will return an empty collection for the second call. Calling Update will collect changes until the next time GetSemanticRanges is called.

.NET Framework Security

See Also

Reference

IXamlFileInformationContext Interface

IXamlFileInformationContext Members

Microsoft.Xaml Namespace

Other Resources

WPF Designer Extensibility