No announcements
Found 2778409 threads
-
0 Votes
Error: Classes must derive either from System.Object or from a composable Windows Runtime class.
You are not able to derive your classes from non-UI WinRT classes.Answered | 4 Replies | 7842 Views | Created by byemark - Friday, November 30, 2012 8:24 AM | Last reply by byemark - Thursday, December 6, 2012 8:18 AM -
0 Votes
Must provide an implementation for the interface method...
error C3766: 'WorkspaceBuilder::WorkspaceEventSink' must provide an implementation for the interface method ' void ...Answered | 2 Replies | 5080 Views | Created by Kedar Kumbhar - Friday, March 4, 2011 9:27 AM | Last reply by Kedar Kumbhar - Friday, March 4, 2011 12:09 PM -
0 Votes
Properties in derived class
It's because if a property is abstract, the derived class MUST provide an implementation.Answered | 10 Replies | 3728 Views | Created by vinay dvd - Thursday, April 8, 2010 9:01 AM | Last reply by Matthew Watson - Thursday, April 8, 2010 2:20 PM -
2 Votes
CRTP - How to call the base class implemention of a method from the derived class?
Also, be careful with __super if you derive from more than one base class.Answered | 1 Replies | 1456 Views | Created by Loch ness2 - Monday, December 29, 2014 8:37 PM | Last reply by Igor Tandetnik - Monday, December 29, 2014 10:44 PM -
3 Votes
Why C# Abstract classes must implement/declare inherited Interface methods?
Its' most common use is to provide base functionality to derived classes.Answered | 23 Replies | 20682 Views | Created by jeff00seattle_2 - Wednesday, February 18, 2009 8:22 AM | Last reply by jeff00seattle_2 - Wednesday, February 18, 2009 7:15 PM -
0 Votes
Implementing the Extensibility.IDTExtensibility2 interface, and deriving classes from base class
next up was to create another new solution & project which was a simple class library containing one class.Answered | 2 Replies | 4392 Views | Created by Matt Cope - Wednesday, October 3, 2012 11:34 AM | Last reply by Matt Cope - Thursday, October 4, 2012 3:33 PM -
1 Votes
Generic interfaces used as properties in abstract classes where derived classes implement the specific interface
The most common case is to provide a base implementation of the core functionality of an interface.Answered | 3 Replies | 5068 Views | Created by Dean Kasa - Thursday, February 27, 2014 4:50 PM | Last reply by CoolDadTx - Thursday, February 27, 2014 7:14 PM -
2 Votes
derived classes ( and the base access)
You must press F11 to step through code.Answered | 15 Replies | 4235 Views | Created by Mitja Bonca - Tuesday, September 29, 2009 11:52 AM | Last reply by Rudedog2 - Tuesday, September 29, 2009 8:27 PM -
0 Votes
base class to derived class conversion
Hi sambit_itwm, As far as I know, we are not able to convert an instance of a base class to a derived class without some sort of conversion operator.Answered | 3 Replies | 4976 Views | Created by sambit_itwm - Tuesday, January 10, 2012 7:45 PM | Last reply by Helen Zhao - Thursday, January 12, 2012 7:06 AM -
0 Votes
Running an interface in a derived class
Your derived class inherits all the methods of the base class so in fact it does implement interface MyMethods - in exactly the same way as your base ...Answered | 4 Replies | 2873 Views | Created by EWGoforth - Thursday, November 20, 2008 1:11 AM | Last reply by EWGoforth - Thursday, November 20, 2008 3:29 AM -
4 Votes
Derived classes must provide an implementation
actiprosoftware.com - Professional WPF, Silverlight, and WinForms UI controls and componentsProposed | 11 Replies | 6176 Views | Created by Windows ate - Monday, March 5, 2012 8:05 PM | Last reply by navits - MSFT - Thursday, May 31, 2012 8:46 PM -
1 Votes
When implementing System.EnterpriseServices.ServicedComponent derived classes, which of the following statement are true?
Enabling object pooling requires an attribute on the class and the enabling of pooling in the com + catalog.Answered | 3 Replies | 1737 Views | Created by Mr.Weera PongPruchya - Wednesday, May 1, 2013 8:47 AM | Last reply by Alan_Yao - Monday, May 6, 2013 1:41 AM -
0 Votes
Error: Classes must either derive from System.Object or from a composable Windows Runtime class.
Can Bilgin Blog CompuSightAnswered | 2 Replies | 3708 Views | Created by steve xue - Wednesday, August 1, 2012 11:52 AM | Last reply by Can Bilgin - Monday, August 13, 2012 8:54 PM -
1 Votes
Deriving just one class ?
Yes, in C# you can only derive a class from one base class.Answered | 9 Replies | 3118 Views | Created by Jarod.Net - Sunday, July 13, 2008 11:42 AM | Last reply by olimac - Monday, July 14, 2008 1:21 AM -
2 Votes
Simple class derivation leads to CA2237 and CA2240 - is it really necessary to implement?
I think I might suppress it on a case-by-case basis rather than the rule in general as it is very valid if my derived class does need to be serialised.Answered | 7 Replies | 5813 Views | Created by BloodBaz - Tuesday, August 28, 2012 9:11 AM | Last reply by Jack Zhai-MSFT - Thursday, August 30, 2012 8:32 AM -
5 Votes
abstract class : how to implement Class A and class B method in class c.
Because it cannot be instaniated, only inherited, and all non-abstract MUST overwrite all abstract fucntions.Answered | 26 Replies | 2223 Views | Created by love4csharp - Friday, January 25, 2013 3:55 AM | Last reply by D Avik - Tuesday, January 29, 2013 1:15 PM -
0 Votes
Derived classes?
I add both tables to the dbml file, but ideally I would like the StrategyAudit class generated to be derived from Strategy, because there are many times when you want to ...Answered | 1 Replies | 3582 Views | Created by bpeikes - Wednesday, August 12, 2009 9:39 PM | Last reply by Damien Guard - Thursday, August 13, 2009 3:08 AM -
0 Votes
Abstract, Interface, Derived class
Because the C# compiler support implicit interface implementations.Answered | 2 Replies | 3765 Views | Created by AshokSingh - Thursday, April 29, 2010 3:33 PM | Last reply by CoolDadTx - Thursday, April 29, 2010 3:53 PM -
0 Votes
C++ casting Base To Derived class
func(); func() change x value (not y) . and i added a variable D1 class and i must place it low stack address and y must be High stack address. ...Answered | 1 Replies | 3250 Views | Created by warchieft - Friday, December 14, 2012 8:27 AM | Last reply by Lim Bio Liong - Friday, December 14, 2012 9:34 AM -
0 Votes
Resolving Virtual funtions in derived class
Please remember to mark the replies as answers if they help and unmark them if they provide no help.Answered | 9 Replies | 3943 Views | Created by Ankita Kumar - Monday, October 25, 2010 7:02 PM | Last reply by eryang - Friday, October 29, 2010 4:57 AM - Items 1 to 20 of 2778409 Next ›
No announcements