Windows apps
Collapse the table of content
Expand the table of content
Information
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
[C#]
WebRequest Create(
   Uri uri
);
[C++]
WebRequest* Create(
   Uri* uri
);
[JScript]
function Create(
   uri : Uri
) : WebRequest;

Parameters

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

Return Value

A WebRequest instance.

Remarks

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.

Requirements

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

Show:
© 2018 Microsoft