Share via


RazorCodeGenerator.SourceFileName Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the name of the source file.

Namespace:  System.Web.Razor.Generator
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Property SourceFileName As String 
    Get 
    Private Set
'Usage
Dim instance As RazorCodeGenerator 
Dim value As String 

value = instance.SourceFileName
public string SourceFileName { get; private set; }
public:
property String^ SourceFileName {
    String^ get ();
    private: void set (String^ value);
}
member SourceFileName : string with get, private set
function get SourceFileName () : String 
private function set SourceFileName (value : String)

Property Value

Type: System.String
The name of the source file.

See Also

Reference

RazorCodeGenerator Class

System.Web.Razor.Generator Namespace