PrintDialogArray.GetIndex(PrintDialog) Methode
Definition
Ruft den Index eines PrintDialog in einem PrintDialogArray ab.Gets the index of a PrintDialog in a PrintDialogArray.
public:
short GetIndex(System::Windows::Forms::PrintDialog ^ o);
public short GetIndex (System.Windows.Forms.PrintDialog o);
member this.GetIndex : System.Windows.Forms.PrintDialog -> int16
Public Function GetIndex (o As PrintDialog) As Short
Parameter
Ein PrintDialog im Steuerelementarray.A PrintDialog in the control array.
Gibt zurück
Ein Short
, der den Index des angegebenen PrintDialog darstellt.A Short
that represents the index of the specified PrintDialog.
Hinweise
Diese Methode kann verwendet werden, um den Index für den angegebenen PrintDialog abzurufen.This method can be used to retrieve the index for the specified PrintDialog.
Hinweis
Funktionen und Objekte im Microsoft.VisualBasic.Compatibility.VB6-Namespace werden in den Tools zum Upgrade von Visual Basic 6.0 auf Visual Basic bereitgestellt.Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In den meisten Fällen duplizieren diese Funktionen und Objekte Funktionen aus anderen Namespaces in .NET Framework.NET Framework.In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. Sie sind nur notwendig, wenn sich das Visual Basic 6.0-Codemodell erheblich von der .NET Framework.NET Framework-Implementierung unterscheidet.They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.