다음을 통해 공유


IVsStructuredFileIO.FindFormatIndex(UInt32, UInt32[]) Method

Definition

Returns the format index for the CodePage of the data object.

int FindFormatIndex(unsigned int uiCodePage, std::Array <unsigned int> const & pnFormatIndex);
public int FindFormatIndex (uint uiCodePage, uint[] pnFormatIndex);
abstract member FindFormatIndex : uint32 * uint32[] -> int
Public Function FindFormatIndex (uiCodePage As UInteger, Optional pnFormatIndex As UInteger()) As Integer

Parameters

uiCodePage
UInt32

[in] Specifies CodePage.

pnFormatIndex
UInt32[]

[out, optional] Pointer to an integer containing the format index.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsStructuredFileIO::FindFormatIndex(  
   [in] UINT uiCodePage,  
   [out, optional] ULONG *pnFormatIndex  
);  

Applies to