IVsHTMLConverter.ConvertToEntities(String, UInt32, UInt16[], UInt32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
문자 문자열을 "ä" 문자에 대해 "ä"과 같은 엔터티 참조를 포함하는 문자열로 변환합니다.
public:
int ConvertToEntities(System::String ^ szToConvert, System::UInt32 cchBuffSize, cli::array <System::UInt16> ^ szBuffer, [Runtime::InteropServices::Out] System::UInt32 % pcchBuffSizeActual);
int ConvertToEntities(std::wstring const & szToConvert, unsigned int cchBuffSize, std::Array <unsigned short> const & szBuffer, [Runtime::InteropServices::Out] unsigned int & pcchBuffSizeActual);
public int ConvertToEntities (string szToConvert, uint cchBuffSize, ushort[] szBuffer, out uint pcchBuffSizeActual);
abstract member ConvertToEntities : string * uint32 * uint16[] * uint32 -> int
Public Function ConvertToEntities (szToConvert As String, cchBuffSize As UInteger, szBuffer As UShort(), ByRef pcchBuffSizeActual As UInteger) As Integer
매개 변수
- szToConvert
- String
[in] 변환할 문자열입니다.
- cchBuffSize
- UInt32
[in] 변환된 문자열을 저장할 버퍼의 길이입니다.
- szBuffer
- UInt16[]
[out] 변환된 문자열을 포함하는 버퍼입니다.
- pcchBuffSizeActual
- UInt32
[out] 사용된 버퍼의 실제 크기입니다.
반환
메서드가 성공하면 S_OK가 반환되고, 그렇지 않으면 오류 코드가 반환됩니다.
설명
COM 서명
vsshell.idl에서:
HRESULT IVsHTMLConverter::ConvertToEntities(
[in] LPCOLESTR szToConvert,
[in] ULONG cchBuffSize,
[in, out, size_is(cchBuffSize)] OLECHAR szBuffer[],
[out] ULONG *pcchBuffSizeActual
);