<?xml version="1.0" encoding="utf-8"?> <Type Name="VirtualFileBase" FullName="System.Web.Hosting.VirtualFileBase"> <TypeSignature Language="C#" Value="public abstract class VirtualFileBase : MarshalByRefObject" /> <AssemblyInfo> <AssemblyName>System.Web</AssemblyName> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> <Base> <BaseTypeName>System.MarshalByRefObject</BaseTypeName> </Base> <Interfaces /> <Docs> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>The <see cref="T:System.Web.Hosting.VirtualFileBase" /> abstract class provides the common methods and properties shared between the <see cref="T:System.Web.Hosting.VirtualFile" /> and <see cref="T:System.Web.Hosting.VirtualDirectory" /> objects. Implementations of these classes provide the ASP.NET runtime with access to files and paths used for compilation. For more information on using virtual files and paths, see the <see cref="T:System.Web.Hosting.VirtualPathProvider" /> class.</para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Provides the core implementation for the <see cref="T:System.Web.Hosting.VirtualFile" /> and <see cref="T:System.Web.Hosting.VirtualDirectory" /> objects. An abstract class, it cannot be instantiated.</para> </summary> </Docs> <Members> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="protected VirtualFileBase ();" /> <MemberType>Constructor</MemberType> <Parameters /> <Docs> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Although you cannot directly construct an instance of the <see cref="T:System.Web.Hosting.VirtualFileBase" /> class, you can call this constructor from the constructor of an inheriting class. </para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Initializes the class for use by an inherited class instance. This constructor can be called only by an inherited class.</para> </summary> </Docs> <AssemblyInfo> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> <Member MemberName="InitializeLifetimeService"> <MemberSignature Language="C#" Value="public override object InitializeLifetimeService ();" /> <MemberType>Method</MemberType> <ReturnValue> <ReturnType>System.Object</ReturnType> </ReturnValue> <Parameters /> <Docs> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>This method overrides the <see cref="M:System.MarshalByRefObject.InitializeLifetimeService" /> method on its base class. It always returns null and thereby prevents a lease from being created that would limit the lifetime of the virtual file or directory.</para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Gives a <see cref="T:System.Web.Hosting.VirtualFileBase" /> instance an infinite lifetime by preventing a lease from being created.</para> </summary> <returns> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Always null.</para> </returns> </Docs> <AssemblyInfo> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> <Member MemberName="IsDirectory"> <MemberSignature Language="C#" Value="public abstract bool IsDirectory { get; }" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.Boolean</ReturnType> </ReturnValue> <Docs> <value>To be added.</value> <remarks>To be added.</remarks> <since version=".NET 2.0" /> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>When overridden in a derived class, gets a value indicating whether the <see cref="T:System.Web.Hosting.VirtualFileBase" /> instance represents a virtual file or a virtual directory.</para> </summary> </Docs> <AssemblyInfo> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> <Member MemberName="Name"> <MemberSignature Language="C#" Value="public virtual string Name { get; }" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Docs> <value>To be added.</value> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>The <see cref="P:System.Web.Hosting.VirtualFileBase.Name" /> property is typically the file name and extension associated with the resource, although virtual resources may use arbitrary names. </para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Gets the display name of the virtual resource.</para> </summary> </Docs> <AssemblyInfo> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> <Member MemberName="VirtualPath"> <MemberSignature Language="C#" Value="public string VirtualPath { get; }" /> <MemberType>Property</MemberType> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Docs> <value>To be added.</value> <since version=".NET 2.0" /> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>The <see cref="P:System.Web.Hosting.VirtualFileBase.VirtualPath" /> property returns the path to the file or directory represented by this object. </para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Gets the virtual file path.</para> </summary> </Docs> <AssemblyInfo> <AssemblyVersion>2.0.0.0</AssemblyVersion> </AssemblyInfo> </Member> </Members> </Type>