This documentation is archived and is not being maintained.
IWebFormsDocumentService.DocumentUrl Property
.NET Framework 1.1
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
in the upper-left corner of the page.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
IWebFormsDocumentService Interface | IWebFormsDocumentService Members | System.Web.UI.Design Namespace
Show: