Partager via


IVsStructuredFileIO.GetFormatInfo(UInt32, UInt32[]) Method

Definition

Returns the format information for the format index.

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

Parameters

nFormatIndex
UInt32

[in] Integer containing the format index.

puiCodePage
UInt32[]

[out, optional] Pointer to CodePage.

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

Applies to