DocData.IVsFileBackup.IsBackupFileObsolete Method
Get whether the backup file is up to date.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
Private Function IsBackupFileObsolete ( _
<OutAttribute> ByRef pbObsolete As Integer _
) As Integer Implements IVsFileBackup.IsBackupFileObsolete
int IVsFileBackup.IsBackupFileObsolete(
out int pbObsolete
)
private:
virtual int IsBackupFileObsolete(
[OutAttribute] int% pbObsolete
) sealed = IVsFileBackup::IsBackupFileObsolete
private abstract IsBackupFileObsolete :
pbObsolete:int byref -> int
private override IsBackupFileObsolete :
pbObsolete:int byref -> int
JScript does not support explicit interface implementations.
Parameters
- pbObsolete
Type: System.Int32%
Zero if the backup file is the same as the document in store.
Return Value
Type: System.Int32
Implements
IVsFileBackup.IsBackupFileObsolete(Int32%)
Remarks
Note that the backup file can be up to date even if the document has not been saved.
.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.