다음을 통해 공유


IVsStructuredFileIO.FindFormatIndex Method

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)

Syntax

'Declaration
Function FindFormatIndex ( _
    uiCodePage As UInteger, _
    <OutAttribute> pnFormatIndex As UInteger() _
) As Integer
int FindFormatIndex(
    uint uiCodePage,
    uint[] pnFormatIndex
)
int FindFormatIndex(
    [InAttribute] unsigned int uiCodePage, 
    [OutAttribute] array<unsigned int>^ pnFormatIndex
)
abstract FindFormatIndex : 
        uiCodePage:uint32 * 
        pnFormatIndex:uint32[] byref -> int
function FindFormatIndex(
    uiCodePage : uint, 
    pnFormatIndex : uint[]
) : int

Parameters

  • uiCodePage
    Type: UInt32

    [in] Specifies CodePage.

  • pnFormatIndex
    Type: array<UInt32[]

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

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsStructuredFileIO Interface

Microsoft.VisualStudio.Shell.Interop Namespace