No announcements
Found 2645816 threads
-
0 Votes
Setting Object=Null sets it's child objects?
They don't return to null but as you remove all of the references to the parent object it becomes eligible for garbage collection.Answered | 2 Replies | 3152 Views | Created by Am X - Friday, November 27, 2009 3:41 AM | Last reply by eryang - Monday, November 30, 2009 7:52 AM -
0 Votes
Method overload with object parameters
Given that you have void foo(string a); void foo(object a); and call foo with object parameter (that contains string), then the overload that takes object will ...Answered | 7 Replies | 6914 Views | Created by sn75 - Tuesday, October 13, 2009 1:57 PM | Last reply by sn75 - Tuesday, October 13, 2009 2:41 PM -
0 Votes
Dynamically loaded Dll - Invoke Method - how to include an object in the parameters object[]
I am dynamically loading a dll, and calling a method using Invoke, and passing in an object[] as parameters.Answered | 4 Replies | 3393 Views | Created by Kirk Evans - Wednesday, November 5, 2008 3:48 PM | Last reply by Kirk Evans - Wednesday, November 5, 2008 4:23 PM -
1 Votes
Non null object in a helper method is returned as a null object
If the method were using a return parameter requiring the ByRef keyword then the new object instance would have been created in the caller and only updated ...Answered | 9 Replies | 524 Views | Created by hpe_jack - Tuesday, April 5, 2016 2:43 PM | Last reply by Cor Ligthert - Wednesday, April 6, 2016 10:22 PM -
1 Votes
object not set to instance of object
The below is another example of instantiating a class that has private backing objects that the Public Properties that are objects are using.Answered | 10 Replies | 1105 Views | Created by svt44cobra66 - Thursday, October 2, 2014 4:43 PM | Last reply by darnold924 - Saturday, October 4, 2014 10:42 AM -
0 Votes
Object parameter of [Invoke] method, child object property is null but set on client
Hi ps0118mj, Could you please let us know how do you call the method on the domain service?Answered | 1 Replies | 936 Views | Created by ps0118mj - Thursday, April 4, 2013 3:17 PM | Last reply by Chester Hong - Monday, April 8, 2013 4:18 AM -
0 Votes
Object Binding and Null Parent Objects
Thirdly, you absolutely can return a null value, but yes, the binding will fail if you try to write to a property of a ...Answered | 9 Replies | 5725 Views | Created by _Harry_ - Friday, December 17, 2010 4:08 AM | Last reply by Min Zhu - Thursday, December 23, 2010 2:59 AM -
0 Votes
Invoke properties class and pass it to method using Reflection
The param object is the one which contains the method parameters.Answered | 6 Replies | 1880 Views | Created by Roopesh Kumar - Wednesday, May 16, 2012 8:09 PM | Last reply by Roopesh Kumar - Wednesday, May 16, 2012 9:33 PM -
0 Votes
Cannot invoke method or retrieve property from null object.
In fact, Client Object Model doesn’t support getting version history of list item currently.Answered | 3 Replies | 3324 Views | Created by dzitam - Tuesday, June 14, 2016 9:59 PM | Last reply by Patrick_Liang - Thursday, June 16, 2016 7:23 AM -
4 Votes
Check of object have a null property
But anyway, it depends on the class of the object whether it has a method which will return this information to you or not.Answered | 4 Replies | 2406 Views | Created by Ashraf Fadol - Monday, April 15, 2013 6:10 AM | Last reply by Zoltán Horváth - Monday, April 15, 2013 10:28 PM -
0 Votes
Interrogating / Invoking Dynamic objects Dynamically
For example, adding properties to an ExpandoObject is a C# feature.Answered | 16 Replies | 5191 Views | Created by NTDeveloper - Sunday, October 17, 2010 7:01 PM | Last reply by Louis.fr - Tuesday, October 19, 2010 10:24 AM -
2 Votes
Setting the properties of multiple objects
PropertyEditor is mostly meant for distributing your components and letting users set the properties design time.Answered | 7 Replies | 3211 Views | Created by Peter Accorti - Tuesday, July 14, 2009 2:05 AM | Last reply by Peter Accorti - Thursday, July 16, 2009 12:49 AM -
2 Votes
Get null properties from object
ClientId { get; set; } public string CustNum { get; set; } public int AttendedAsFavor { get; set; } public int Rating { get; set; } ...Answered | 3 Replies | 581 Views | Created by Ciupaz - Monday, September 10, 2018 6:29 PM | Last reply by Kareninstructor - Tuesday, September 11, 2018 10:17 AM -
1 Votes
In an array of objects, are the objects automatically set to null?
They are all set to NULL (the default value).Answered | 2 Replies | 557 Views | Created by Owen Ransen - Saturday, September 22, 2018 7:28 AM | Last reply by Owen Ransen - Saturday, September 22, 2018 8:59 AM -
2 Votes
Object parameter
The RegistryKey SetValue method sets the value of a name/value pair in the registry key.Answered | 4 Replies | 2922 Views | Created by hope1light - Thursday, February 19, 2009 12:31 PM | Last reply by Agalo - Thursday, February 19, 2009 1:35 PM -
0 Votes
Invoke dynamically a method with ref and out custom parameters
You could also put an interface in that assembly so you don't have to use Reflection to invoke methods.Answered | 8 Replies | 4538 Views | Created by Eusebiu - Friday, June 6, 2008 9:10 AM | Last reply by kobe082005 - Saturday, June 7, 2008 2:49 AM -
0 Votes
difference between dispose and setting an object to null
You can't "set an object to null".Answered | 3 Replies | 7183 Views | Created by sudheern - Monday, April 13, 2009 6:11 AM | Last reply by Tergiver - Monday, April 13, 2009 2:30 PM -
0 Votes
How to invoke properly a method with a Func<> parameter
You are passing the name of the method you want to pass as a parameter, while you should pass the actual method.Answered | 5 Replies | 3241 Views | Created by Chrizarus - Friday, October 8, 2010 7:39 AM | Last reply by Chrizarus - Monday, October 18, 2010 7:23 AM -
0 Votes
Object Deserialization Property Order
In reality that would be a property on a derived class, and I need the ObjectState to be the very last property to be set.Answered | 6 Replies | 3228 Views | Created by ObsidianPhoenix - Tuesday, December 20, 2011 4:35 PM | Last reply by CarlosFigueira - Wednesday, January 4, 2012 5:05 PM -
0 Votes
Create object which has child properties within properties
Create a separate class or structure for SeperationVertex that has the three properties, then in your main object instead of using a long for SeperationVertex, use an instance of the ...Answered | 2 Replies | 609 Views | Created by ComputerInvision - Monday, January 6, 2014 5:18 AM | Last reply by HomeGrownCoder - Monday, January 6, 2014 5:44 AM - Items 1 to 20 of 2645816 Next ›
No announcements