RenderedOutputFile.Extension Property

The extension of the file returned by the Data property. The extension matches the file type specified in the Type property.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Extension As String
    Get
'Usage
Dim instance As RenderedOutputFile
Dim value As String

value = instance.Extension
public abstract string Extension { get; }
public:
virtual property String^ Extension {
    String^ get () abstract;
}
abstract Extension : string
abstract function get Extension () : String

Property Value

Type: System.String
The file extension of the encoded data stream. Common file extensions for reports are HTM, XLS, and TIF.