IXamlFileInformationContext.Update Method

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

Requests that this file context be updated to the current content of the file.

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

Syntax

'Declaration
Sub Update ( _
    time As Long, _
    prepareOptions As XamlPrepareOptions, _
    offset As Integer _
)
'Usage
Dim instance As IXamlFileInformationContext
Dim time As Long
Dim prepareOptions As XamlPrepareOptions
Dim offset As Integer

instance.Update(time, prepareOptions, _
    offset)
void Update(
    long time,
    XamlPrepareOptions prepareOptions,
    int offset
)
void Update(
    long long time, 
    XamlPrepareOptions prepareOptions, 
    int offset
)
function Update(
    time : long, 
    prepareOptions : XamlPrepareOptions, 
    offset : int
)

Parameters

  • time
    Type: System.Int64

    A time value that will be returned by the LastUpdated method. This value is not used internally.

  • offset
    Type: System.Int32

    An optional offset to use to help the in preparing for a call. Specifying -1 indicates that no offset is ready. Specifying a non-negative offset might cause more work to be done than necessary if the prepared call is not eventually made.

Remarks

The Update method must be called before any of the other methods will return a valid result.

Permissions

See Also

Concepts

WPF Designer Extensibility

Reference

IXamlFileInformationContext Interface

IXamlFileInformationContext Members

Microsoft.Xaml Namespace