Wrox Programmer Forums
|
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 June 11th, 2014, 07:37 AM
Registered User
 
Join Date: Jun 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why layer = map.Layer[i] does not function

Dear Sir:

In the Try It Out in page 170, I have had to write:

layer = map.get_Layer(i);

instead of

layer = map.Layer[i];

In page 171 I found a similar problem:

IEnumLayer enumLayer = map.Layer;

does not work, and

IEnumLayer enumLayer = map.get_Layers(null, false);

does work.

I am using Microsoft Visual C# 2008 Express Edition and ArcGIS 10.0.

Thank you for any help you can provide.

Juan Martínez





Similar Threads
Thread Thread Starter Forum Replies Last Post
3 layer setup sophia ASP.NET 4 General Discussion 8 April 20th, 2014 02:17 PM
Handle error from database layer to applican layer khatu_jec ASP.NET 2.0 Basics 1 November 9th, 2008 03:51 PM
Menu layer wdwright BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 18th, 2007 08:11 PM
onClick outside a layer markp Javascript How-To 1 July 8th, 2004 08:59 AM





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