This documentation is archived and is not being maintained.

IWebFormsDocumentService.DocumentUrl Property

Gets the URL at which the document is located.

[Visual Basic]
ReadOnly Property DocumentUrl As String
[C#]
string DocumentUrl {get;}
[C++]
__property String* get_DocumentUrl();
[JScript]
function get DocumentUrl() : String;

Property Value

The URL at which the document is located, or a null reference (Nothing in Visual Basic) if the document has no associated URL.

Example

[Visual Basic] 
Dim documentURL As String = docService.DocumentUrl

[C#] 
string documentURL = docService.DocumentUrl;

[C++] 
String* documentURL = docService->DocumentUrl;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

IWebFormsDocumentService Interface | IWebFormsDocumentService Members | System.Web.UI.Design Namespace

Show: