Partager via


Map.newmethod(Types, Types) Method

Definition

Creates a new map.

protected:
 void newmethod(Microsoft::Dynamics::Ax::Xpp::Types _key, Microsoft::Dynamics::Ax::Xpp::Types _value);
protected void newmethod (Microsoft.Dynamics.Ax.Xpp.Types _key, Microsoft.Dynamics.Ax.Xpp.Types _value);
override this.newmethod : Microsoft.Dynamics.Ax.Xpp.Types * Microsoft.Dynamics.Ax.Xpp.Types -> unit
Protected Sub newmethod (_key As Types, _value As Types)

Parameters

_key
Types

The type of the values.

_value
Types

The type of the values.

Remarks

The following example creates a map that maps string keys to integer values.

Map myMap = new Map(Types::String, Types::Integer);

Applies to