IVsStructuredFileIO::FindFormatIndex Method (UInt32, array<UInt32>^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int FindFormatIndex(
	unsigned int uiCodePage,
	array<unsigned int>^ pnFormatIndex
)

Parameters

uiCodePage
Type: System::UInt32

[in] Specifies CodePage.

pnFormatIndex
Type: array<System::UInt32>^

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

Return Value

Type: System::Int32

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

From vsshell.idl:

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