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.Int64A time value that will be returned by the LastUpdated method. This value is not used internally.
prepareOptions
Type: Microsoft.Xaml.XamlPrepareOptionsOptions to prepare the context for one or more calls on the interface.
offset
Type: System.Int32An 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
- 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
Concepts
Reference
IXamlFileInformationContext Interface