Dela via


DataViewTypeManager.Register Method

Definition

Overloads

Register(DataViewType, Type, DataViewTypeAttribute)

This function tells that dataViewType should be representation of data in type in ML.NET's type system. The registered type must be a standard C# object's type.

Register(DataViewType, Type, IEnumerable<Attribute>)
Obsolete.
Obsolete.

This function tells that dataViewType should be representation of data in type in ML.NET's type system. The registered type must be a standard C# object's type.

Register(DataViewType, Type, DataViewTypeAttribute)

This function tells that dataViewType should be representation of data in type in ML.NET's type system. The registered type must be a standard C# object's type.

public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, Microsoft.ML.Data.DataViewTypeAttribute typeAttribute = default);
static member Register : Microsoft.ML.Data.DataViewType * Type * Microsoft.ML.Data.DataViewTypeAttribute -> unit
Public Shared Sub Register (dataViewType As DataViewType, type As Type, Optional typeAttribute As DataViewTypeAttribute = Nothing)

Parameters

dataViewType
DataViewType

The corresponding type of type in ML.NET's type system.

type
Type

Native type in C#.

typeAttribute
DataViewTypeAttribute

The DataViewTypeAttribute attached to type.

Applies to

Register(DataViewType, Type, IEnumerable<Attribute>)

Caution

This API is deprecated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.

Caution

This API is depricated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.

This function tells that dataViewType should be representation of data in type in ML.NET's type system. The registered type must be a standard C# object's type.

[System.Obsolete("This API is deprecated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)]
public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, System.Collections.Generic.IEnumerable<Attribute> typeAttributes);
public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, System.Collections.Generic.IEnumerable<Attribute> typeAttributes = default);
[System.Obsolete("This API is depricated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)]
public static void Register (Microsoft.ML.Data.DataViewType dataViewType, Type type, System.Collections.Generic.IEnumerable<Attribute> typeAttributes);
[<System.Obsolete("This API is deprecated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)>]
static member Register : Microsoft.ML.Data.DataViewType * Type * seq<Attribute> -> unit
static member Register : Microsoft.ML.Data.DataViewType * Type * seq<Attribute> -> unit
[<System.Obsolete("This API is depricated, please use the new form of Register which takes in a single DataViewTypeAttribute instead.", false)>]
static member Register : Microsoft.ML.Data.DataViewType * Type * seq<Attribute> -> unit
Public Shared Sub Register (dataViewType As DataViewType, type As Type, typeAttributes As IEnumerable(Of Attribute))
Public Shared Sub Register (dataViewType As DataViewType, type As Type, Optional typeAttributes As IEnumerable(Of Attribute) = Nothing)

Parameters

dataViewType
DataViewType

The corresponding type of type in ML.NET's type system.

type
Type

Native type in C#.

typeAttributes
IEnumerable<Attribute>

The Attributes attached to type.

Attributes

Applies to