Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsStructuredFileIO::FindFormatIndex(
[in] UINT uiCodePage,
[out, optional] ULONG *pnFormatIndex
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.