Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
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
- 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.