IVirtualFile Interface Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Provides functionality to retrieve a virtual file from the virtual file system.

Namespace: ContentStudio.Model
Assembly: CS5Interfaces (in CS5Interfaces.dll) Version: (

public interface IVirtualFile : IVirtualStorageItem

The IVirtualFile type exposes the following members.


Public propertyContentType
Gets the content type (mime-type) of the current file.
Public propertyCreationTime
Gets the creation time of the current IVirtualStorageItem.
(Inherited from IVirtualStorageItem.)
Public propertyIsDirectory
Gets a value indicating whether this instance is directory.
(Inherited from IVirtualStorageItem.)
Public propertyLastAccessTime
Gets time the current IVirtualStorageItem was last accessed.
(Inherited from IVirtualStorageItem.)
Public propertyLastChangedTime
Gets time the current IVirtualStorageItem was last changed.
(Inherited from IVirtualStorageItem.)
Public propertyLength
Gets the size, in bytes, of the current file.
Public propertyName
Gets the name of this IVirtualStorageItem .
(Inherited from IVirtualStorageItem.)
Public propertyVirtualPath
Gets the virtual item path.
(Inherited from IVirtualStorageItem.)

Public methodGetDependencies
Gets a list of resources that depend on this IAspNetVirtualFile.
Public methodOpen
When implemented, returns a read-only stream to the virtual resource.

This interface was added in Content Studio version 5.3
See Also