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