共用方式為


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

'宣告
Function FindFormatIndex ( _
    uiCodePage As UInteger, _
    <OutAttribute> pnFormatIndex As UInteger() _
) As Integer
'用途
Dim instance As IVsStructuredFileIO
Dim uiCodePage As UInteger
Dim pnFormatIndex As UInteger()
Dim returnValue As Integer

returnValue = instance.FindFormatIndex(uiCodePage, _
    pnFormatIndex)
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

  • 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.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsStructuredFileIO Interface

IVsStructuredFileIO Members

Microsoft.VisualStudio.Shell.Interop Namespace