Share via


xArgs.name Method

Definition

Overloads

name(String)
name()

Gets or sets the name that is used in code to identify a form, report, table, query, or another MSDAX application object.

name(String)

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

Parameters

_value
String

The value to set; optional.

Returns

Applies to

name()

Gets or sets the name that is used in code to identify a form, report, table, query, or another MSDAX application object.

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

Returns

The name that is used in code to identify an application object.

Remarks

The name property value of an object must meet the following criteria to avoid code conflicts:

  • Begins with a letter.
  • Does not exceed 250 characters.
  • May include numbers and underscore characters.
  • May include punctuation or spaces.
  • Tables cannot have the same name as other public objects, such as extended data types, base enums, classes, and so on.

For example, to call a form from an application object you can use: args.name(formstr(FormName));

Applies to