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.
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
Function Update ( _
time As Long, _
sourceVersion As Long, _
prepareOptions As XamlPrepareOptions, _
offset As Integer _
) As Long
'Usage
Dim instance As IXamlFileInformationContext
Dim time As Long
Dim sourceVersion As Long
Dim prepareOptions As XamlPrepareOptions
Dim offset As Integer
Dim returnValue As Long
returnValue = instance.Update(time, sourceVersion, _
prepareOptions, offset)
long Update(
long time,
long sourceVersion,
XamlPrepareOptions prepareOptions,
int offset
)
long long Update(
long long time,
long long sourceVersion,
XamlPrepareOptions prepareOptions,
int offset
)
function Update(
time : long,
sourceVersion : long,
prepareOptions : XamlPrepareOptions,
offset : int
) : long
Parameters
time
Type: System.Int64A time value that will be returned by the LastUpdated method. This value is not used internally.
- sourceVersion
Type: System.Int64
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 prepare 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.
Return Value
Type: System.Int64
A value that represents the version of the source that any errors occurred in. This version is the last parsed version.
Remarks
The Update method must be called before any of the other methods will return a valid result.
.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