Questions tagged [custom-object]
202 questions
1
vote
2 answers
How to bind Custom Object to ListBox in WPF
I am new to WPF so please accept my apologies if my question is stupid.
I am creating a food ordering system which consists of 2 main sections, the "Food Menu" and the "Order List". When user chooses an item from the food menu, it will be added to…

pblyt
- 518
- 1
- 7
- 13
1
vote
1 answer
How do I access a custom object in memory from a view controller?
In my app I fetch a coredatabase and put results into an array called self.stores. I convert those store locations to MyLocation objects which have a distance property. I plot the MyLocation objects like so:
- (void)plotStorePositions:(NSString…

marciokoko
- 4,988
- 8
- 51
- 91
1
vote
2 answers
PowerShell: Start-Job, Receive-Job: no return value
Ok, Here is my script
$server=@("SERVER1","SERVER2")
$A=@()
foreach($srv in $server){
start-job -scriptblock {Get-AppHangs $srv}}
while (Get-Job -State "Running"){}
foreach($JB in Get-Job){$A+=Receive-Job $JB}
Remove-Job…

Randall.Cummins
- 426
- 1
- 8
- 20
1
vote
1 answer
Custom object return from web service takes long, why
When my web service returns a custom object (containing only four strings, three ints and a bool) it takes several seconds (4-8seconds). When the same server sends the same information in a string it goes almost instantly.
The custom object class is…

mdc
- 1,161
- 6
- 22
- 37
1
vote
0 answers
Access object enabler via RealDWG engine
I'm trying to open a dwg file containing custom objects from another application using RealDWG . Has anyone aware of any documentations or sample / video of how to access the object enabler of that particular application to read object's internal…

Afshin
- 1,222
- 11
- 29
1
vote
1 answer
How to create collection of abstract class type objects
I'm writing a powershell script on Microsofts WHCK 2.0 API. I'm from perl background so do not know much in powershell or c#.
Well, my code is:
$ObjectModel = [Reflection.Assembly]::LoadFrom($env:WTTSTDIO +…

Nilesh Mali
- 11
- 3
1
vote
3 answers
Ksoap2 Passing Complex Object as Parameter
I am communicating with a web-service by sending an Object along with the request.
This is the format of the WSDL of the web-service.

Swayam
- 16,294
- 14
- 64
- 102
0
votes
1 answer
serializing custom objects
I have 2 classes that derive from a generic base class.
[Serializable()]
[XmlInclude(typeof(User))]
[XmlInclude(typeof(File))]
public class BaseEntity
{
private long id;
[XmlAttribute(AttributeName = "id")]
public virtual long ID
…

Mr T.
- 4,278
- 9
- 44
- 61
0
votes
2 answers
Keeping a NSMutableArray full of custom objects availble through whole class
My NSMutableArray full of Article (a custom class containing an NSString * title) objects gets loaded properly in one method (checked in debugger), but when another method is called the Article objects seem to 'forget' a number of class variables…

eaganr
- 5
- 1
- 3
0
votes
8 answers
Sorting Arraylist of Custom object by creation date
I have a custom object whose structure is
public String name;
public int type;
public String createdOn;
createdOn is date and its format is : 2011-12-16T23:27:27+0000
I have stored multiple objects of this type in ArrayList and now I want to sort…

Adil Bhatty
- 17,190
- 34
- 81
- 118
0
votes
0 answers
How to hide values in a non dependent picklist
I have a 'non dependent' picklist where I want to hide certain values based on the year.
The picklist has values from 2000 to 2030 but I want those values to be absent and only show 2023 in the picklist. Is is possible using formula fields or…
0
votes
1 answer
What kind of custom object in license platform pricing
I need to know whether a custom object is only a custom object(in classic menu > create > objects), or if it has custom metadata types and custom settings as well. This is because I need to use the license platform starter.
link of price and…

Kritsada Mee
- 3
- 1
0
votes
3 answers
Convert array into custom object with array items as key values
I'm kinda new to JS so I kinda got stuck with this what it seemed simple problem.
I have to convert payload from:
const payload = {left: ['name', 'phone'], right: ['address']}
to:
const payload =
columns: {
name: {
pinned:…

catzndogz
- 13
- 1
- 4
0
votes
0 answers
SwiftUI: Trying to get a Firebase Firestore subcollection as a sub-type of the main collection
I am trying to conform exercise data into the following struct from Firebase:
struct StrengthModel: Decodable {
var day: WorkoutDays
var strengthModel: [ExerciseModel]
}
where WorkoutDays:
struct WorkoutDays: Encodable, Decodable,…
0
votes
2 answers
Convert Output or Object in Array to Table Powershell
I created a custom object
$customsa = New-Object -TypeName psobject
$customsa | Add-Member -MemberType NoteProperty -Name Name -Value (Get-AzStorageAccount).StorageAccountName
$customsa | Add-Member -MemberType NoteProperty -Name Tier -Value…