explicit cast
Hi,If there is an explicit cast is available, use it like this:Code SnippetIFeatureLayer featureLayer = (IFeatureLayer)this.axMapControl1.get_Layer(0); For a 'safe' cast use this code, and check if the...
View Articleexplicit cast
To do an explicit cast, you place the type in front of the object you are casting, surrounded by (). I believe your example should read: Code SnippetIFeatureLayer featureLayer = (IFeatureLayer)...
View Articleexplicit cast
How can I explicit cast an Ilayer to IfeatureLayer? Code SnippetIFeatureLayer featureLayer = this.axMapControl1.get_Layer(0); IFeatureSelection featureSelection = featureLayer;...
View Article
More Pages to Explore .....