ITuple Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a general-purpose Tuple implementation that allows access to Tuple instance members without knowing the underlying Tuple type.
public interface class ITuple
public interface ITuple
type ITuple = interface
Public Interface ITuple
- Derived
Remarks
You use the ITuple
interface to access individual elements of a Tuple instance without knowing beforehand the number or types of elements in the Tuple. You determine the number of items in the Tuple by retrieving the value of the Length property. You can then enumerate its elements by passing an index that ranges from zero to one less than value of the Length property to the Item[] property.
ITuple
is an explicit interface implementation of the Tuple
classes and the ValueTuple
structures. You must cast the Tuple
object to an ITuple
interface object before you can access its properties.
Properties
Item[Int32] |
Returns the value of the specified |
Length |
Gets the number of elements in this |
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示