StringValues 構造体
定義
0 または null、1、または複数の文字列を効率的な方法で表します。Represents zero/null, one, or many strings in an efficient way.
public value class StringValues : IEquatable<cli::array <System::String ^> ^>, IEquatable<Microsoft::Extensions::Primitives::StringValues>, IEquatable<System::String ^>, System::Collections::Generic::ICollection<System::String ^>, System::Collections::Generic::IEnumerable<System::String ^>, System::Collections::Generic::IList<System::String ^>, System::Collections::Generic::IReadOnlyCollection<System::String ^>, System::Collections::Generic::IReadOnlyList<System::String ^>
public struct StringValues : IEquatable<Microsoft.Extensions.Primitives.StringValues>, IEquatable<string[]>, IEquatable<string>, System.Collections.Generic.ICollection<string>, System.Collections.Generic.IEnumerable<string>, System.Collections.Generic.IList<string>, System.Collections.Generic.IReadOnlyCollection<string>, System.Collections.Generic.IReadOnlyList<string>
type StringValues = struct
interface IList<string>
interface ICollection<string>
interface seq<string>
interface IEnumerable
interface IReadOnlyList<string>
interface IReadOnlyCollection<string>
type StringValues = struct
interface ICollection<string>
interface seq<string>
interface IEnumerable
interface IList<string>
interface IReadOnlyCollection<string>
interface IReadOnlyList<string>
Public Structure StringValues
Implements ICollection(Of String), IEnumerable(Of String), IEquatable(Of String()), IEquatable(Of String), IEquatable(Of StringValues), IList(Of String), IReadOnlyCollection(Of String), IReadOnlyList(Of String)
- 継承
- 実装
コンストラクター
StringValues(String) |
文字列を指定して、StringValues 構造体の新しいインスタンスを初期化します。Initializes a new instance of the StringValues structure using the specified string. |
StringValues(String[]) |
指定した文字列配列を使用して、StringValues 構造体の新しいインスタンスを初期化します。Initializes a new instance of the StringValues structure using the specified array of strings. |
フィールド
Empty |
空の文字列配列を値とする StringValues 構造体の読み取り専用インスタンス。A readonly instance of the StringValues struct whose value is an empty string array. |
プロパティ
Count |
StringValues に格納されている文字列要素の数を取得します。Gets the number of string elements contained in this StringValues. |
Item[Int32] |
インデックス位置にある文字列を取得します。Gets the string at index. |
メソッド
Concat(String, StringValues) |
指定した String のインスタンスを、指定した StringValues と連結します。Concatenates specified instance of String with specified StringValues. |
Concat(StringValues, String) |
指定した StringValues のインスタンスを、指定した String と連結します。Concatenates specified instance of StringValues with specified String. |
Concat(StringValues, StringValues) |
指定した 2 つの StringValues インスタンスを連結します。Concatenates two specified instances of StringValues. |
Equals(Object) |
このインスタンスと指定したオブジェクトの値が同一かどうかを判断します。Determines whether this instance and a specified object have the same value. |
Equals(String) |
このインスタンスと指定した文字列の値が同一かどうかを判断します。Determines whether this instance and a specified string have the same value. |
Equals(String, StringValues) |
指定した String と StringValues のオブジェクトが同一の値を持っているかどうかを判断します。Determines whether the specified String and StringValues objects have the same values. |
Equals(String[]) |
このインスタンスと指定した文字列配列の値が同一かどうかを判断します。Determines whether this instance and a specified string array have the same values. |
Equals(String[], StringValues) |
指定した文字列配列と StringValues のオブジェクトが同一の値を持っているかどうかを判断します。Determines whether the specified string array and StringValues objects have the same values. |
Equals(StringValues) |
このインスタンスと、指定した別の StringValues オブジェクトの値が同一かどうかを判断します。Determines whether this instance and another specified StringValues object have the same values. |
Equals(StringValues, String) |
指定した StringValues と String のオブジェクトが同一の値を持っているかどうかを判断します。Determines whether the specified StringValues and String objects have the same values. |
Equals(StringValues, String[]) |
指定した StringValues と文字列配列のオブジェクトが同一の値を持っているかどうかを判断します。Determines whether the specified StringValues and string array objects have the same values. |
Equals(StringValues, StringValues) |
指定した 2 つの StringValues オブジェクトが同じ順序の同じ値かどうかを判断します。Determines whether two specified StringValues objects have the same values in the same order. |
GetEnumerator() |
この StringValues に含まれる個々の文字列を反復処理するオブジェクトを取得します。Retrieves an object that can iterate through the individual strings in this StringValues. |
GetHashCode() | |
IsNullOrEmpty(StringValues) |
指定した StringValues に文字列が含まれていないかどうかを示します。Indicates whether the specified StringValues contains no string values. |
ToArray() |
現在の StringValues オブジェクトから文字列配列を作成します。Creates a string array from the current StringValues object. |
ToString() |
現在の StringValues オブジェクトの値を等価の文字列表現に変換します。複数の値はコンマで区切られた文字列として結合されます。Converts the value of the current StringValues object to its equivalent string representation, with multiple values joined as a comma separated string. |
演算子
Equality(Object, StringValues) |
指定した Object (StringValues、String、String の配列である必要がある) と指定した StringValues の値が同一かどうかを判断します。Determines whether the specified Object, which must be a StringValues, String, or array of String, and specified StringValues, have the same value. |
Equality(String, StringValues) | |
Equality(String[], StringValues) | |
Equality(StringValues, Object) |
指定した StringValues と Object (StringValues、String または String の配列である必要がある) の値が同一かどうかを判断します。Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have the same value. |
Equality(StringValues, String) | |
Equality(StringValues, String[]) | |
Equality(StringValues, StringValues) |
指定した 2 つの StringValues の値が同一かどうかを判断します。Determines whether two specified StringValues have the same values. |
Implicit(String to StringValues) |
指定した文字列から StringValues への暗黙的な変換を定義します。Defines an implicit conversion of a given string to a StringValues. |
Implicit(String[] to StringValues) |
指定した文字列配列から StringValues への暗黙的な変換を定義します。Defines an implicit conversion of a given string array to a StringValues. |
Implicit(StringValues to String) |
指定された StringValues の文字列への暗黙的な変換を定義します。複数の値はコンマで区切られた文字列として結合されます。Defines an implicit conversion of a given StringValues to a string, with multiple values joined as a comma separated string. |
Implicit(StringValues to String[]) |
指定した StringValues から文字列配列への暗黙的な変換を定義します。Defines an implicit conversion of a given StringValues to a string array. |
Inequality(Object, StringValues) |
指定した Object と StringValues のオブジェクトが同一の値を持っているかどうかを判断します。Determines whether the specified Object and StringValues object have the same values. |
Inequality(String, StringValues) |
指定した String と StringValues のオブジェクトの値が異なるかどうかを判断します。Determines whether the specified String and StringValues objects have different values. |
Inequality(String[], StringValues) |
指定した文字列配列と StringValues の値が異なるかどうかを判断します。Determines whether the specified string array and StringValues have different values. |
Inequality(StringValues, Object) |
指定した StringValues と Object (StringValues、String または String の配列である必要がある) の値が異なるかどうかを判断します。Determines whether the specified StringValues and Object, which must be a StringValues, String, or array of String, have different values. |
Inequality(StringValues, String) |
指定した StringValues と String のオブジェクトの値が異なるかどうかを判断します。Determines whether the specified StringValues and String objects have different values. |
Inequality(StringValues, String[]) |
指定した StringValues と文字列配列の値が異なるかどうかを判断します。Determines whether the specified StringValues and string array have different values. |
Inequality(StringValues, StringValues) |
指定した 2 つの StringValues の値が異なるかどうかを判断します。Determines whether two specified StringValues have different values. |
明示的なインターフェイスの実装
ICollection<String>.Add(String) |
項目をコレクションに追加します。Adds an item to the collection. |
ICollection<String>.Clear() |
コレクションからすべての項目を削除します。Removes all items from the collection. |
ICollection<String>.Contains(String) |
ある文字列が StringValues 内に存在するかどうかを判断します。Determines whether a string is in the StringValues. |
ICollection<String>.CopyTo(String[], Int32) |
StringValues 全体を、文字列配列の、指定したインデックスから始まる位置にコピーします。Copies the entire StringValuesto a string array, starting at the specified index of the target array. |
ICollection<String>.IsReadOnly |
コレクションが読み取り専用かどうかを示す値を取得します。Gets a value indicating whether the collection is read-only. |
ICollection<String>.Remove(String) |
特定のオブジェクトの最初に出現したものをコレクションから削除します。Removes the first occurrence of a specific object from the collection. |
IEnumerable.GetEnumerator() |
コレクションを反復処理する列挙子を返します。Returns an enumerator that iterates through a collection. |
IEnumerable<String>.GetEnumerator() |
コレクションを反復処理する列挙子を返します。Returns an enumerator that iterates through the collection. |
IList<String>.IndexOf(String) |
StringValues のある項目が最初に見つかった位置の 0 から始まるインデックスを返します。Returns the zero-based index of the first occurrence of an item in the StringValues. |
IList<String>.Insert(Int32, String) |
指定したインデックスの IList<T> に項目を挿入します。Inserts an item to the IList<T> at the specified index. |
IList<String>.Item[Int32] | |
IList<String>.RemoveAt(Int32) |
指定したインデックスにある IList<T> 項目を削除します。Removes the IList<T> item at the specified index. |
拡張メソッド
CopyToDataTable<T>(IEnumerable<T>) |
指定した入力 DataTable オブジェクトに応じて (ジェネリック パラメーター |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) |
指定した入力 DataRow オブジェクトに応じて (ジェネリック パラメーター |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) |
指定した入力 DataRow オブジェクトに応じて (ジェネリック パラメーター |