text: ---
  title: UnionCaseInfo.GetFields Method (F#)
  description: UnionCaseInfo.GetFields Method (F#)
  keywords: visual f#, f#, functional programming
  author: dend
  manager: danielfe
  ms.date: 05/16/2016
  ms.topic: language-reference
  ms.prod: visual-studio-dev14
  ms.technology: devlang-fsharp
  ms.assetid: 1d3acc9a-0087-43ef-b07e-32da355b67bd 
  ---
  
  # UnionCaseInfo.GetFields Method (F#)
  
  The fields associated with the case, represented by a `System.Reflection.PropertyInfo`.
  
  **Namespace/Module Path:** Microsoft.FSharp.Reflection
  
  **Assembly:** FSharp.Core (in FSharp.Core.dll)
  
  
  ## Syntax
  
  ```fsharp
  // Signature:
  member this.GetFields : unit -> PropertyInfo []
  
  // Usage:
  unionCaseInfo.GetFields ()
  ```
  
  ## Return Value
  
  The fields associated with the case as an array of `System.Reflection.PropertyInfo`.
  
  ## Platforms
  Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
  
  
  ## Version Information
  **F# Core Library Versions**
  
  Supported in: 2.0, 4.0, Portable
  
  ## See Also
  [Reflection.UnionCaseInfo Class &#40;F&#35;&#41;](Reflection.UnionCaseInfo-Class-%5BFSharp%5D.md)
  
  [Microsoft.FSharp.Reflection Namespace &#40;F&#35;&#41;](Microsoft.FSharp.Reflection-Namespace-%5BFSharp%5D.md)