The VersioningFile type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CheckIn |
Checks in the versioned file with the comments provided.
| |
| CheckOut |
Checks out the versioned file.
| |
| CopyTo | Overloaded. | |
| CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) | |
| Delete |
Deletes the native file.
(Overrides UnifiedFile..::.Delete()()().) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetVersion |
Gets a specific version of a versioned file of null if the incorrect
object identity is supplied.
| |
| GetVersions |
Gets all versions of this VersionedFile. Uses the underlying filesystem implementation
to query for versions and convert into IUnifiedVersion list.
| |
| InitializeLifetimeService |
Gives a VirtualFileBase instance an infinite lifetime by preventing a lease from being created.
(Inherited from VirtualFileBase.) | |
| MemberwiseClone | Overloaded. | |
| MoveTo |
Moves the versioned file to another new virtual directory.
(Overrides UnifiedFile..::.MoveTo(String).) | |
| OnCheckedIn |
Base implementation on reaised event for checked in files.
(Inherited from UnifiedFile.) | |
| OnCheckedOut |
Base implementation on reaised event for checked out files.
(Inherited from UnifiedFile.) | |
| OnCheckingIn |
Base implementation on reaised event for checking in files.
(Inherited from UnifiedFile.) | |
| OnCheckingOut |
Base implementation on reaised event for checking out files.
(Inherited from UnifiedFile.) | |
| OnCopied |
Base implementation on reaised event for copied files.
(Inherited from UnifiedFile.) | |
| OnCopying |
Base implementation on reaised event for copying files.
(Inherited from UnifiedFile.) | |
| OnDeleted |
Base implementation on reaised event for deleted files.
(Inherited from UnifiedFile.) | |
| OnDeleting |
Base implementation on reaised event for deleting files.
(Inherited from UnifiedFile.) | |
| OnMoved |
Base implementation on reaised event for renamed files.
(Inherited from UnifiedFile.) | |
| OnMoving |
Base implementation on reaised event for renaming files.
(Inherited from UnifiedFile.) | |
| OnUndidCheckOut |
Base implementation on reaised event for undoed checked out files.
(Inherited from UnifiedFile.) | |
| OnUndoingCheckOut |
Base implementation on reaised event for undoing checking out files.
(Inherited from UnifiedFile.) | |
| Open | Overloaded. | |
| QueryAccess |
Gets the access level for the current user on this file.
(Overrides UnifiedFile..::.QueryAccess()()().) | |
| QueryDistinctAccess |
Query if a user has access level on the current folder.
(Inherited from UnifiedFile.) | |
| RenameInternal |
Renames the native file.
| |
| SetPageForAccessControl |
Method that admits control of which page to perform access control against.
(Inherited from UnifiedFile.) | |
| ToString | (Inherited from Object.) | |
| TryAsVersioningFile |
Tries to cast this instance to a versioning file.
(Inherited from UnifiedFile.) | |
| UndoCheckOut |
Undo the file checkout.
|
Fields
| Name | Description | |
|---|---|---|
| PageForAclCheck |
When a new page is created but not yet saved we need to hold parent for that page here so we can perform access check against it.
When Parent property is overriden the SetPageForAccessControl on parent should be called before parent is returned.
(Inherited from UnifiedFile.) |
Properties
| Name | Description | |
|---|---|---|
| BypassAccessCheck |
Gets or sets a value indicating whether to bypass access check for file.
(Inherited from UnifiedFile.) | |
| Changed |
Last changed timestamp.
(Overrides VirtualFileEx..::.Changed.) | |
| CheckedOutBy |
This file type is versioned and supports CheckedOutBy property.
Uses the underlying FileSystem to query for username.
VersioningFileHandler which is
used by composition in this class.
| |
| Created |
time of creation.
(Overrides UnifiedFile..::.Created.) | |
| Extension |
Gets the UnifiedFiles extension, for example '.doc'.
(Inherited from VirtualFileEx.) | |
| Guid | ||
| IsCheckedOut |
Flag for checking if this versioned file is checked out.
| |
| IsDirectory |
Gets a value that indicates that this is a virtual resource that should be treated as a file.
(Inherited from VirtualFile.) | |
| Length |
Length in bytes of the versioned file.
(Overrides UnifiedFile..::.Length.) | |
| LocalPath |
Gets the local path.
(Overrides VirtualFileEx..::.LocalPath.) | |
| Name |
Gets the display name of the virtual resource.
(Inherited from VirtualFileBase.) | |
| Parent |
Returns the parent directory if the versioned file.
a UnifiedDirectory returned by method returns an UnifiedDirectory
equivalent derived class of VersioningDirectory.
(Overrides UnifiedFile..::.Parent.) | |
| PermanentLinkVirtualPath |
Gets the exportable path.
(Overrides UnifiedFile..::.PermanentLinkVirtualPath.) | |
| Provider |
Gets the virtual path provider that handles this directory.
(Inherited from UnifiedFile.) | |
| Summary |
Gets the Summary of Meta data for the versioning file from the underlying fs
and uses a wrapper class inplementing the nesseseary interfaces as returned
instance.
(Overrides UnifiedFile..::.Summary.) | |
| VirtualPath |
Gets the virtual file path.
(Inherited from VirtualFileBase.) |