ドキュメント

Unity Engine

Download Unity

Unity Engine

AddField

Add a simple field to the form.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UnityWebRequestModule

AddField(string, string)

Add a simple field to the form.
public void AddField(string fieldName, string value)

Parameters

fieldName

The name of the field to add.

value

The string value to assign to the field.

Remarks

Adds field
fieldName
with a given string value.

AddField(string, string, Encoding)

Add a simple field to the form.
public void AddField(string fieldName, string value, Encoding e)

Parameters

fieldName

The name of the field to add.

value

The string value to assign to the field.

The encoding used to convert
value
to bytes.

Remarks

Adds field
fieldName
with a given string value.

AddField(string, int)

Adds a simple field to the form.
public void AddField(string fieldName, int i)

Parameters

fieldName

The name of the field to add.

The integer value to assign to the field.

Remarks

Adds field
fieldName
with a given integer value. A conveinience for calling AddField(fieldName, i.ToString).