No announcements
Found 2635766 threads
-
0 Votes
class private variables question
Now lets answer your query, Imagine a team working on a big project, there two developers say A & B Now A has been tasked to design a ...Answered | 2 Replies | 454 Views | Created by Btb4198 - Thursday, January 9, 2014 6:54 AM | Last reply by Jeetendra Khandelwal - Thursday, January 9, 2014 10:22 AM -
3 Votes
Set & Get Public Property of a Class
Thanks RyanAnswered | 6 Replies | 3793 Views | Created by Ryan0827 - Tuesday, May 10, 2011 2:08 PM | Last reply by Ryan0827 - Tuesday, May 10, 2011 4:43 PM -
0 Votes
Pass variable to label property
hi there, I have 50 labels on my form which all have the visible property set to False.Answered | 2 Replies | 2916 Views | Created by Jacqui99 - Tuesday, November 29, 2011 11:30 PM | Last reply by Jacqui99 - Wednesday, November 30, 2011 7:32 PM -
1 Votes
C# Classes and member variables
However, if you're truley looking for a "join," then the closest thing would be a partial class, but partial classes would have to have the same name.Answered | 3 Replies | 369 Views | Created by johnnyphil - Friday, May 6, 2016 3:52 PM | Last reply by Kareninstructor - Friday, May 6, 2016 8:19 PM -
3 Votes
Use properties inside a class
Evan, the comments in the OPs code clearly imply that he's doing more than just getting/setting a variable, so auto-implemented properties wouldn't work.Answered | 12 Replies | 1935 Views | Created by Mini2 - Friday, May 25, 2012 12:22 PM | Last reply by servy42 - Tuesday, May 29, 2012 1:55 PM -
0 Votes
Variable Name for Creating Instance of a Class
Since each control has its own instance of the RS232 class you'd just use a public property.Answered | 14 Replies | 487 Views | Created by philhaldane - Friday, May 4, 2018 11:16 AM | Last reply by philhaldane - Friday, May 11, 2018 1:23 PM -
1 Votes
Table Variable properties/ uses?
Nope its like a local variable but of table type ie its scope is only within the batch where you created it see this example declare ...Answered | 2 Replies | 449 Views | Created by SQL75 - Monday, October 27, 2014 4:17 PM | Last reply by Visakh16 - Monday, October 27, 2014 4:22 PM -
6 Votes
Difference between public variables & public properties ?
Local variables, array elements, parameters, fields are all variables.Answered | 6 Replies | 1342 Views | Created by GurunGuns - Wednesday, October 24, 2012 6:32 AM | Last reply by Mr. Javaman II - Thursday, October 25, 2012 5:13 PM -
0 Votes
class level variable
If you were to create a new instance of your class and tried to use these two members the one declared Public would be available but the Dim dataset -- which is Private in scope -- would not ...Answered | 1 Replies | 3502 Views | Created by adilahmed - Thursday, July 10, 2008 11:09 AM | Last reply by Dig-Boy - Thursday, July 10, 2008 11:54 AM -
0 Votes
Instantiating a class from a class name stored to a property
If you want to use classes in multiple solutions then you can put them all in a class library project.Answered | 6 Replies | 2038 Views | Created by Carl524i - Monday, December 19, 2011 4:51 PM | Last reply by Dave299 - Thursday, December 29, 2011 12:45 AM -
4 Votes
How to store the class result in the variable created the class?
I want to create or add my own custum properties/sub/function to myclass which is based on Datatable You can do that - that's what Inherits ...Answered | 7 Replies | 641 Views | Created by Samir Ibrahim - Monday, August 12, 2013 8:33 AM | Last reply by Samir Ibrahim - Tuesday, August 13, 2013 4:57 PM -
2 Votes
Variable Passing and Class
Each class only needs to be able to see that one static class, and they can see all of your calculation data.Answered | 6 Replies | 2145 Views | Created by monaco_23 - Wednesday, July 6, 2011 1:45 PM | Last reply by monaco_23 - Wednesday, July 6, 2011 3:17 PM -
0 Votes
Properties of properties in C# class library
Hi, Adding to what Horrik had shown in a good example, i would say that, there is no term, like properties of properties or nested properties.Answered | 3 Replies | 2815 Views | Created by BWHazel - Monday, September 7, 2009 2:24 PM | Last reply by BWHazel - Monday, September 7, 2009 2:54 PM -
0 Votes
SSIS: How to use variable in Connection Manager's Properties
Ed Clarke | www.atheonanalytics.comAnswered | 26 Replies | 77437 Views | Created by lovenuqui - Tuesday, August 24, 2010 8:15 AM | Last reply by Ravikanth Narayanabhatla - Thursday, October 5, 2017 12:57 PM -
0 Votes
Binding to a static property NOT in a static class
If you only provide a static property, there is no object to retrieve an interface from, so that's why you need the backing of a regular class to get the INotifyPropertyChanged ...Answered | 4 Replies | 6073 Views | Created by Nir_haham - Sunday, April 13, 2008 8:19 AM | Last reply by Carbaholic - Friday, December 18, 2009 1:04 AM -
7 Votes
Can i call on static class, properties and variables from another static class?
But when I do i get this error: " Error 1 An object reference is required for the non-static field, method, ...Answered | 7 Replies | 1654 Views | Created by PotaTW - Sunday, July 29, 2012 6:52 PM | Last reply by Mitja Bonca - Monday, July 30, 2012 1:48 PM -
2 Votes
Get public variable from class to form
A class should have private variable that is exposed via a public properties to the outside world.Answered | 4 Replies | 424 Views | Created by Prabaharan pichaiyan - Wednesday, December 5, 2018 9:35 AM | Last reply by DA924x - Thursday, December 6, 2018 3:29 AM -
0 Votes
How to represent class use variable
I mean like "variable as button name"Answered | 14 Replies | 782 Views | Created by tomelit - Sunday, December 28, 2014 3:18 PM | Last reply by Cor Ligthert - Wednesday, January 7, 2015 1:11 AM -
1 Votes
Recursive storage of properties inside a class
If you just want to count the number of different clients, a Dictionary could be used: Class Clients Private ReadOnly _Dict As New Dictionary(Of String, ...Answered | 6 Replies | 444 Views | Created by ArthurBarnhouse - Thursday, March 26, 2015 6:24 PM | Last reply by Armin Zingler - Thursday, March 26, 2015 6:49 PM -
0 Votes
uimap.uitest: can I enter a variable as a search property
Just use the refernce of that particular control and overwrite the required property with the new value.Answered | 3 Replies | 3500 Views | Created by Alexandre Beaulieu - Thursday, May 12, 2011 7:06 PM | Last reply by Deepak.Singhal [MSFT] - Friday, May 13, 2011 1:51 PM
No announcements