removeFields
クラス: matlab.net.http.HeaderField
パッケージ: matlab.net.http
ヘッダー フィールド配列からフィールドを削除
入力引数
fields
— ヘッダー フィールド
matlab.net.http.HeaderField
ヘッダー フィールド。matlab.net.http.HeaderField
オブジェクトの配列として指定します。
ids
— 一致させる名前
文字列 | matlab.net.http.HeaderField
オブジェクト | meta.class
オブジェクト
一致させる名前。以下のいずれかとして指定します。
削除するフィールド名を含む string ベクトル、文字ベクトル、文字ベクトルの cell 配列、string または文字ベクトルのコンマ区切りリスト。名前は、大文字と小文字を区別しません。
削除するフィールド名を決定するために使用される
Name
プロパティをもつ 1 つ以上のHeaderField
オブジェクトのベクトルまたはコンマ区切りリスト。名前は、大文字と小文字を区別しません。ヘッダー フィールド値は無視されます。HeaderField
のサブクラスであるmeta.class
オブジェクトのベクトルまたはコンマ区切りリスト。removeFields
メソッドは、クラスにかかわらず、指定クラスでサポートされる名前と一致する名前を検索します。サポートされる名前の特定のセットがサブクラスにない場合、そのサブクラスのすべてのヘッダー フィールドが、名前にかかわらず一致します。サポートされる名前を表示するには、HeaderField.displaySubclasses
メソッドを呼び出します。
バージョン履歴
R2018a で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)