This document is archived and information here might be outdated.  Recommended version.


IField.Length Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IField.Length Property

The maximum length, in bytes, for values described by the field.

[Visual Basic .NET]
Public ReadOnly Property Length As Integer
[C#]
public int Length {get;}
[C++]
HRESULT get_Length(
  long* Length
);
[C++]

Parameters Length [out, retval] Length is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IField Interface

.NET Samples

Timestamper class extension (Code Files: TimestampClassExtension)

.NET Related Topics

Working with fields