Edit

Bagikan melalui


VirtualFileBase.Name Property

Definition

Gets the display name of the virtual resource.

public:
 virtual property System::String ^ Name { System::String ^ get(); };
public virtual string Name { get; }
member this.Name : string
Public Overridable ReadOnly Property Name As String

Property Value

The display name of the virtual file.

Remarks

The Name property is typically the file name and extension associated with the resource, although virtual resources may use arbitrary names.

Notes to Inheritors

The Name property should return the correct casing of the virtual resource for the virtual path provider. The correct casing may be different from the casing in the original path.

Applies to

See also