Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. How to get the data type of a list item field?

How to get the data type of a list item field?

Scheduled Pinned Locked Moved SharePoint
helptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 9200126
    wrote on last edited by
    #1

    Hi there, i'm using CSOM 2013 and need the required data type of a ListItem-Field. Who can help?

    I 1 Reply Last reply
    0
    • U User 9200126

      Hi there, i'm using CSOM 2013 and need the required data type of a ListItem-Field. Who can help?

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      Member 9246155 wrote:

      i'm using CSOM 2013 and need the required data type of a ListItem-Field.

      You need the required data type? What do you want to say with that? Are you using VS.Net C#? If so it's easy: Every SPField field delivers the SPFieldType type:

      SPFieldType fieldType = field.Type;

      You can just work with that. By the way there is no CSOM 2013 in SharePoint. There is SharePoint 2010 and SharePoint 2013 but the client-side object model is the same for both.

      SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups