RegisterPrefix()
WebRequest::RegisterPrefix(String, System::SharedPtr<IWebRequestCreate>) method
Registers the WebRequest descendant for the specified URI.
static bool System::Net::WebRequest::RegisterPrefix(String prefix, System::SharedPtr<IWebRequestCreate> creator)
Arguments
Parameter | Type | Description |
---|---|---|
prefix | String | The URI or the URI prefix. |
creator | System::SharedPtr<IWebRequestCreate> | Creates new instances of the WebRequest class. |
Return Value
True when the WebRequest descendant is successfully registered for the specified URI, otherwise false.
See Also
- Typedef SharedPtr
- Class String
- Class IWebRequestCreate
- Class WebRequest
- Namespace System::Net
- Library Aspose.Slides