namespace Studioat.ArcEngine
{
public static class Helper
{
public static IField get_Field(this IFields fields, string FieldName)
{
int i = fields.FindField(FieldName);
return (i==-1)?null:fields.get_Field(i);
}
}
}
IField field = featureClass.Fields.get_Field("MyFieldName");
Nessun commento:
Posta un commento