Class ProtoArrayElementAttribute
- Namespace
- nanoFramework.Protobuf
- Assembly
- nanoFramework.Protobuf.dll
Use this attribute on Array fields to make the element type known.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class ProtoArrayElementAttribute : Attribute
- Inheritance
-
ProtoArrayElementAttribute
- Inherited Members
- Extension Methods
Constructors
ProtoArrayElementAttribute(string)
ProtoArrayElementAttribute constructor.
public ProtoArrayElementAttribute(string arrayElementType)
Parameters
arrayElementTypestringThe fully qualified type name of the Array element type.
Properties
ArrayElementType
The fully qualified type name of the Array element type.
public string ArrayElementType { get; }