No announcements
Found 2635717 threads
-
0 Votes
Call variable from partial class in visual webpart
in case if someone else will face with similar issue: in example above web part property is declared as static.Answered | 7 Replies | 727 Views | Created by AnttiTheSharePointGuy - Tuesday, October 18, 2016 4:58 PM | Last reply by sadomovalex - Monday, October 24, 2016 1:49 PM -
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
Holding a certain class in a multi-variable variable
To access it back : Client client = clients[some-index]; http://blog.voidnish.comAnswered | 2 Replies | 2347 Views | Created by Mattraks - Friday, February 20, 2009 10:40 PM | Last reply by Mattraks - Friday, February 20, 2009 11:08 PM -
1 Votes
Using Property or its Variable?
Using Property is best.Answered | 6 Replies | 3595 Views | Created by Kavitha_123 - Monday, January 16, 2012 12:00 PM | Last reply by Kavitha_123 - Monday, January 23, 2012 5:44 AM -
2 Votes
Static variables with a for-loop in a class?
Hi CountryStyle, Do you mean accessing properties of thousands controls will hit the performance?Answered | 7 Replies | 2805 Views | Created by nuuwnhuus - Tuesday, November 24, 2009 6:46 PM | Last reply by CountryStyle - Monday, November 30, 2009 7:28 PM -
1 Votes
Using Picture Box properties as variables
You can keep track of the name of the last resource loaded by saving it in the control's tag property NextImage = "Stream" If PictureBox1.Tag ...Answered | 9 Replies | 3479 Views | Created by John S. F. _ - Sunday, September 13, 2009 6:22 PM | Last reply by Acamar - Sunday, September 13, 2009 10:26 PM -
2 Votes
Help with Class Property syntax
I've included an actual description so you can see all of the prep I have to do to parse out sections of the string: Public Class StringParser Inherits ...Answered | 16 Replies | 1699 Views | Created by carriehoff - Friday, April 6, 2012 6:34 PM | Last reply by Acamar - Friday, April 13, 2012 2:12 AM -
0 Votes
assign a value to a class property
Premature optimization is the root of all evil in programming.Answered | 8 Replies | 3104 Views | Created by Lightening - Tuesday, December 29, 2009 10:28 PM | Last reply by Lightening - Wednesday, December 30, 2009 7:30 PM -
0 Votes
How to take variable from other class by Value?
The following line is the place where you assign your variable.Answered | 4 Replies | 3128 Views | Created by Bogdan Nicovski - Tuesday, November 24, 2009 2:33 PM | Last reply by Bogdan Nicovski - Thursday, November 26, 2009 10:49 AM -
1 Votes
Referencing SSRS variables set in Report Properties
Daniel - http://crmadiario.blogspot.comAnswered | 3 Replies | 10423 Views | Created by J.C.Heich - Thursday, June 20, 2013 1:04 PM | Last reply by Daniel Sabater - Tuesday, August 4, 2015 7:53 AM -
0 Votes
Properties in derived class
It's because if a property is abstract, the derived class MUST provide an implementation.Answered | 10 Replies | 3662 Views | Created by vinay dvd - Thursday, April 8, 2010 9:01 AM | Last reply by Matthew Watson - Thursday, April 8, 2010 2:20 PM -
0 Votes
Purpose of using properties in Classes
http://blog.voidnish.comAnswered | 5 Replies | 2450 Views | Created by Loganathan Velsamy - Wednesday, June 9, 2010 1:22 PM | Last reply by Loganathan Velsamy - Thursday, June 10, 2010 7:01 AM -
1 Votes
Using properties with a mustinherit class in VB2010
A better approach entirely for something like this, since your base class isn't actually doing anything with _Name would be to just define the Name property as mustoverride and to ...Answered | 8 Replies | 4103 Views | Created by VBdataStarter - Wednesday, August 4, 2010 2:01 AM | Last reply by John Anthony Oliver - Thursday, August 5, 2010 3:31 AM -
2 Votes
Databinding a nested class property
One requirement of binding to a member of a class is that it must be a public property. eg.Answered | 5 Replies | 11120 Views | Created by ArunNair - Monday, December 7, 2009 5:07 PM | Last reply by Geert van Horrik - Wednesday, December 9, 2009 6:13 PM -
0 Votes
Proper way to use a variable in the main form and a class
Public Interface Interface1 Property PROGRAMFOLDER As String Property USERDATAFOLDER As String Property USERCLIENTSDATA As String End ...Answered | 21 Replies | 435 Views | Created by Mark Yorkovich - Wednesday, December 23, 2015 2:22 PM | Last reply by DA924 - Wednesday, December 23, 2015 10:30 PM -
0 Votes
Variable to configure TargetServerURL in reporting services properties
Thanks, Jin ChenJin Chen - MSFTAnswered | 2 Replies | 3463 Views | Created by JiLu - Wednesday, August 26, 2009 12:54 PM | Last reply by Jinchun Chen - Friday, August 28, 2009 2:50 AM -
7 Votes
Can not create a Class Property
In VB we have Classes, (Shared Classes) and Modules.Answered | 6 Replies | 1983 Views | Created by wmr30075 - Thursday, January 10, 2013 1:12 AM | Last reply by Cor Ligthert - Saturday, January 12, 2013 2:23 PM -
0 Votes
Classes and Properties
I am struggling to get the variables from the client class over to the main form.Answered | 3 Replies | 720 Views | Created by grizzlygreen - Tuesday, October 29, 2013 10:00 PM | Last reply by Kareninstructor - Thursday, October 31, 2013 4:02 PM -
0 Votes
Moling base class's properties
It is a bit counter intuitive but you simply instantiate the base class mole type around your runtime instance (i.e. your derived mole type).Answered | 2 Replies | 6298 Views | Created by hsft - Tuesday, May 4, 2010 1:51 AM | Last reply by hsft - Tuesday, May 4, 2010 8:28 AM -
5 Votes
Copying variables from one class object to another
One possibility to avoid writing each property out one at a time in the copy constructor would be to create a structure for the properties, but leave Weapon as a ...Answered | 11 Replies | 460 Views | Created by Ax1aL - Sunday, March 18, 2018 7:12 PM | Last reply by Ax1aL - Tuesday, March 20, 2018 4:00 PM
No announcements