NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

20.1.14 The Name attribute

The Name attribute is used to specify the property name that underlies an indexer in NGWS. If no Name attribute is specified, then the property is named Item.

[AttributeUsage(AttributeTargets.Indexer)]
public class NameAttribute: System.Attribute
{
   public NameAttribute(string value) {…}
   public string Value { get {…} }
}

The identifier must be a legal C# identifier. Otherwise, a compile-time error occurs.