No announcements
Found 1341867 threads
-
0 Votes
The security accessibility of the overriding method must match the security accessibility of the method being overriden...
So if you plan to continue to keep your assembly private and runnable in medium trust, you cannot override or access a [SecurityCritical] member.Answered | 3 Replies | 14238 Views | Created by Raphaël P - Monday, May 16, 2011 6:32 AM | Last reply by Raphaël P - Thursday, May 19, 2011 1:19 PM -
0 Votes
Regarding overriding a derived method
Hi, Base class variable points to base class methods that are not overriden in the derived class.Answered | 4 Replies | 3100 Views | Created by Prashanth.net - Tuesday, December 8, 2009 12:57 PM | Last reply by Ruslan Mogilevskiy - Thursday, December 10, 2009 7:57 AM -
1 Votes
Override the getproperties method on a class.
That's what I was trying to do, must have been missing something!Answered | 5 Replies | 4357 Views | Created by J-Eng - Wednesday, April 4, 2012 4:15 PM | Last reply by Mark Bentley at BDGL - Friday, August 7, 2015 5:10 PM -
1 Votes
Help needed with comments in code on override methods
You can see it in the context menu if you right click in the C# editor, there are many that are already there.Answered | 5 Replies | 1375 Views | Created by Tobias_K - Thursday, April 12, 2012 6:38 AM | Last reply by Leo Liu - MSFT - Wednesday, April 18, 2012 10:29 AM -
0 Votes
must override already overriden method
Within minutes of posting the question, tried something else that seems to work: just make the ShoppingCartSubscriptionItem abstract and don't implement the PurchaseItem method.Answered | 2 Replies | 73 Views | Created by Anonymous - Thursday, January 14, 2016 4:04 PM | Last reply by Anonymous - Thursday, January 14, 2016 4:23 PM -
1 Votes
override and virtual
Not only CAN you, but you MUST!Answered | 7 Replies | 5667 Views | Created by pm12 - Saturday, June 5, 2010 3:48 AM | Last reply by Chethan Kamath - Monday, June 7, 2010 4:45 AM -
1 Votes
method overriding, calling base methods
You can do so many things when overriding a method like that.Answered | 6 Replies | 3445 Views | Created by Arvin Granados - Thursday, December 15, 2011 3:00 AM | Last reply by servy42 - Friday, December 16, 2011 2:14 PM -
0 Votes
Execute an overrided method of a concrete class from parent abstract class?
Here is some example of abstract, virtual and overriden classes and ...Answered | 7 Replies | 4784 Views | Created by FruitBatInShades - Monday, August 27, 2012 10:36 AM | Last reply by Rudedog2 - Monday, August 27, 2012 1:35 PM -
0 Votes
Method overrides cannot add preconditions.
Hi Derik, for abstract methods, you have to use the same mechanism as for interface methods and write the contract for abstract method in an ...Answered | 8 Replies | 5541 Views | Created by DenMan71 - Monday, March 16, 2009 3:10 PM | Last reply by Manuel Fahndrich - Wednesday, June 3, 2009 2:08 AM -
0 Votes
Virtual override
You must have got a warning for DisplayText method in Child1.Answered | 7 Replies | 1780 Views | Created by Shijith M.C - Monday, October 3, 2011 6:13 AM | Last reply by Adavesh - Monday, October 3, 2011 8:30 AM -
3 Votes
Should overriding method always invoke base method?
Your earlier explanation was helpful enough so I Proposed as Answer already.Answered | 7 Replies | 3609 Views | Created by Seongjoo Lee - Wednesday, July 9, 2008 5:45 AM | Last reply by Seongjoo Lee - Wednesday, July 9, 2008 6:19 PM -
2 Votes
Override Array.ToString()?
All operations under the same named method; which ultimately is what you are looking for....Answered | 9 Replies | 11087 Views | Created by Charly Albert - Tuesday, October 21, 2008 1:18 PM | Last reply by OmegaMan - Wednesday, October 22, 2008 8:31 PM -
1 Votes
How to override the clone method?
Can't you just put a "new" before the method declaration to override it?Answered | 4 Replies | 13370 Views | Created by BBauer42 - Friday, February 26, 2010 8:38 PM | Last reply by Yasser Zamani - Mr. Help - Saturday, February 27, 2010 7:45 AM -
2 Votes
Reflected Defintion attribute issue for overriden method
This code will compile and run: [<AbstractClass>] type Person() = let mutable age = 0 abstract ...Answered | 2 Replies | 2498 Views | Created by KarthikVishnu - Monday, July 25, 2011 8:25 AM | Last reply by kvpa - Tuesday, August 9, 2011 1:02 AM -
0 Votes
Override method in ScrollViewer
You cannot override a method in a sealed class.Answered | 1 Replies | 1009 Views | Created by brianh3 - Sunday, January 27, 2013 8:28 PM | Last reply by Rob Caplan [MSFT] - Tuesday, January 29, 2013 3:46 AM -
0 Votes
Migration from 1.1 to 4.5.2 .Net framework : Method overriden error
Click each of the overrides and verify it takes you to the correct definition in the assembly that is targeting 4.5.2.Answered | 3 Replies | 495 Views | Created by Vikram Gera - Tuesday, February 9, 2016 6:41 AM | Last reply by CoolDadTx - Tuesday, February 9, 2016 4:44 PM -
0 Votes
Overriding OnActivated method
can any body please clarify me in the concept of overriding the "OnActivated" event in windows forms.Answered | 1 Replies | 3360 Views | Created by Satheen - Friday, December 17, 2010 10:36 AM | Last reply by santoshdarekar - Friday, December 17, 2010 12:10 PM -
1 Votes
No suitable method found to override
Take out the word "override".Answered | 1 Replies | 1231 Views | Created by Bri007 - Tuesday, October 2, 2012 7:32 PM | Last reply by Reed Copsey, Jr - Tuesday, October 2, 2012 7:43 PM -
0 Votes
EDI overriden
No EDI context property is present with Overriden name.Answered | 2 Replies | 2542 Views | Created by rengaraj krishnasamy - Saturday, May 18, 2013 10:01 AM | Last reply by Johns-305 - Sunday, May 19, 2013 1:14 PM -
1 Votes
How to override SaveChanges method
Hi, Try http://msdn.microsoft.com/en-us/library/cc716714.aspx (shows how to override SaveChanges or to subscribe to SavingChanges).Answered | 2 Replies | 2771 Views | Created by Doraemon_3 - Monday, May 21, 2012 9:35 AM | Last reply by Rod at Work - Wednesday, May 4, 2016 7:42 PM - Items 1 to 20 of 1341867 Next ›
No announcements