GetEncoding()
Contents
[
Hide
]CodePagesEncodingProvider::GetEncoding(const String&) method
Gets the encoding associated with the specified name.
EncodingPtr System::Text::CodePagesEncodingProvider::GetEncoding(const String &name) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| name | const String& | The name of the encoding to retrieve. |
Return Value
A shared pointer to the Encoding object associated with the specified name, or nullptr if the encoding is not supported by this provider.
Remarks
Overrides the base class method to provide code page specific encoding resolution.
CodePagesEncodingProvider::GetEncoding(int) method
Gets the encoding associated with the specified code page identifier.
EncodingPtr System::Text::CodePagesEncodingProvider::GetEncoding(int codepage) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| codepage | int | The code page identifier of the encoding to retrieve. |
Return Value
A shared pointer to the Encoding object associated with the specified code page, or nullptr if the encoding is not supported by this provider.
Remarks
Overrides the base class method to provide code page specific encoding resolution.
See Also
- Typedef EncodingPtr
- Class String
- Class CodePagesEncodingProvider
- Namespace System::Text
- Library Aspose.Slides