Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IWebRequestCreate.Create Method

Creates a WebRequest instance.

[Visual Basic]
Function Create( _
   ByVal uri As Uri _
) As WebRequest
WebRequest Create(
   Uri uri
WebRequest* Create(
   Uri* uri
function Create(
   uri : Uri
) : WebRequest;


The uniform resource identifier (URI) of the Web resource.

Return Value

A WebRequest instance.


The Create method must return an initialized instance of the WebRequest descendant capable of performing a standard request/response transaction for the protocol without needing any protocol-specific fields modified.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IWebRequestCreate Interface | IWebRequestCreate Members | System.Net Namespace

© 2018 Microsoft