JSObject.AddField(String) Método

Definição

Adiciona o campo especificado ao objeto.Adds the specified field to the object.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

public:
 virtual System::Reflection::FieldInfo ^ AddField(System::String ^ name);
public System.Reflection.FieldInfo AddField (string name);
abstract member AddField : string -> System.Reflection.FieldInfo
override this.AddField : string -> System.Reflection.FieldInfo
Public Function AddField (name As String) As FieldInfo

Parâmetros

name
String

O nome do campo a ser adicionado.The name of the field to add.

Retornos

FieldInfo

O novo campo, se ele for adicionado com êxito.The new field, if it is successfully added.

Implementações

Aplica-se a

Confira também