IVsHTMLConverter.ConvertFromEntities(String, UInt32, UInt16[], UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts entity references in a string to characters.
public:
int ConvertFromEntities(System::String ^ szToConvert, System::UInt32 cchBuffSize, cli::array <System::UInt16> ^ szBuffer, [Runtime::InteropServices::Out] System::UInt32 % pcchBuffSizeActual);
int ConvertFromEntities(std::wstring const & szToConvert, unsigned int cchBuffSize, std::Array <unsigned short> const & szBuffer, [Runtime::InteropServices::Out] unsigned int & pcchBuffSizeActual);
public int ConvertFromEntities (string szToConvert, uint cchBuffSize, ushort[] szBuffer, out uint pcchBuffSizeActual);
abstract member ConvertFromEntities : string * uint32 * uint16[] * uint32 -> int
Public Function ConvertFromEntities (szToConvert As String, cchBuffSize As UInteger, szBuffer As UShort(), ByRef pcchBuffSizeActual As UInteger) As Integer
Parameters
- szToConvert
- String
[in] String to convert.
- cchBuffSize
- UInt32
[in] Length of the buffer in which to store the converted string.
- szBuffer
- UInt16[]
[out] The buffer containing the converted string.
- pcchBuffSizeActual
- UInt32
[out] Actual size of the buffer used.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsHTMLConverter::ConvertFromEntities(
[in] LPCOLESTR szToConvert,
[in] ULONG cchBuffSize,
[in, out, size_is(cchBuffSize)] OLECHAR szBuffer[],
[out] ULONG *pcchBuffSizeActual
);