Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > BOOK: Beginning ArcGIS for Desktop Development using .NET
|
BOOK: Beginning ArcGIS for Desktop Development using .NET
This is the forum to discuss the Wrox book Beginning ArcGIS for Desktop Development using .NET by Pouria Amirian; ISBN: 978-1-118-44254-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ArcGIS for Desktop Development using .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 6th, 2013, 08:52 AM
Registered User
 
Join Date: Jan 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default IFieldEdit fields.AddField(field); intellisense?

pg 414

IFieldEdit field = new FieldsClass();

field.Name_2 = "ObjectID";
field.Type_2 = esriFieldType.esriFieldTypeOID;
fields.AddField (field);

the last line above works but .AddField is not a recognized by intellisense.
Can anyone shed some light on this? It's been brought up in forums before but with no answer as to why?

Thanks,
Robert
 
Old August 6th, 2013, 11:21 AM
Registered User
 
Join Date: Jan 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default .AddField method shown by intellisense pg 425

see pg 425

.AddField method is available through intellisense.

this is through IFieldEdit2


also a correction to my previous post

IFieldEdit field = new FieldsClass();

should've been:

IFieldsEdit field = new FieldsClass();





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare one field agaist two fields snufse SQL Language 1 April 13th, 2009 01:45 PM
IntelliSense? electrum BOOK: Beginning Microsoft SQL Server 2008 Programming ISBN: 978-0-470-25701-2 0 March 17th, 2009 11:10 AM
How to split a field into two fields fdtoo SQL Server 2000 0 April 11th, 2006 08:41 PM
Separating a field into two fields tp194 Access 1 October 8th, 2004 10:02 AM
How Do I Concatinate fields into a key field Brian263 Access 1 May 3rd, 2004 03:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.