Share via


WebFileProperties.URL Property

Gets the URL of the file.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
ReadOnly Property URL As String
    Get
string URL { get; }
property String^ URL {
    String^ get ();
}
abstract URL : string
function get URL () : String

Property Value

Type: System.String
A string containing URL of the file.

Remarks

The URL is based on the URL that was used to open the Web site. For disk Web sites, this property returns the path prefixed with "file:///".

.NET Framework Security

See Also

Reference

WebFileProperties Interface

VsWebSite Namespace