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

 

Returns the format information for the format index.

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

int GetFormatInfo(
	unsigned int nFormatIndex,
	array<unsigned int>^ puiCodePage
)

Parameters

nFormatIndex
Type: System::UInt32

[in] Integer containing the format index.

puiCodePage
Type: array<System::UInt32>^

[out, optional] Pointer to CodePage.

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::GetFormatInfo(
   [in] ULONG nFormatIndex,
   [out, optional] UINT *puiCodePage
);
Return to top
Show: