About 12,500,000 results
Open links in new tab
  1. .net - Get value of a specific object property in C# without …

    Jul 9, 2012 · I have an object (.NET) of type " object ". I don't know the " real type (class) " behind it during runtime , but I know, that the object has a property " string name ". How can I retrive …

  2. python - Determine the type of an object? - Stack Overflow

    2398 There are two built-in functions that help you identify the type of an object. You can use type() if you need the exact type of an object, and isinstance() to check an object’s type …

  3. typescript - What is the Record type? - Stack Overflow

    Jun 6, 2021 · Both code snippets define the same type for an object with numeric keys and a specific structure. Your suggestion is a more explicit way to define it, while mine uses the …

  4. Check if a value is an object in JavaScript - Stack Overflow

    The Object constructor creates an object wrapper for the given value. If the value is null or undefined, it will create and return an empty object, otherwise, it will return an object of a type …

  5. c# - How to cast Object to its actual type? - Stack Overflow

    Sep 2, 2012 · If I have: void MyMethod(Object obj) { ... } How can I cast obj to what its actual type is?

  6. The most accurate way to check JS object's type?

    The typeof operator doesn't really help us to find the real type of an object. I've already seen the following code : Object.prototype.toString.apply(t) Question: Is it the most accurate way of

  7. Type definition in object literal in TypeScript - Stack Overflow

    In TypeScript classes it's possible to declare types for properties, for example: class className { property: string; }; How do declare the type of a property in an object literal? I've tried the

  8. c# - Casting a variable using a Type variable - Stack Overflow

    In C# can I cast a variable of type object to a variable of type T where T is defined in a Type variable?

  9. Difference Between Object Type and Reference Type

    May 24, 2013 · I'd just call them "the type of the reference" and "the type of the object". Yes, that can obviously be shortened to "reference type" and "object type" respectively, but I'd avoid …

  10. vba - Determine Object Type - Stack Overflow

    Is there a way to determine the Object type, when passing a reference to a function? I'm using a security permissions function, which determines if the user has permission to view/edit the …