Export (0) Print
Expand All

ITypeProvider.ApplyStaticArguments Method (F#)

Apply static arguments to a provided type that accepts static arguments.

Namespace/Module Path: Microsoft.FSharp.Core.CompilerServices

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
abstract this.ApplyStaticArguments : Type * string [] * obj [] -> Type

// Usage:
iTypeProvider.ApplyStaticArguments (typeWithoutArguments, typeNameWithArguments, staticArguments)


Type: Type

A type to which you want to apply static arguments.


Type: string []

The mangled name of the type after including static parameters. The mangled name is derived from the base type name by adding a backtick (`) and a number that indicates the number of static arguments.


Type: obj []

The static parameters, indexed by name.

The resulting type with static arguments applied.

The provider must return a type with the given mangled name.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 4.0Supported in: 4.0, Portable

© 2014 Microsoft