DataViewTypeAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
DataViewTypeAttribute by měly být použity k dekorovaným vlastnostem třídy a polím, pokud budou instance této třídy načteny jako ML.NET IDataView. Funkce Register() bude volána k registraci DataViewType pro určitou sType.Attribute Vždy, když je hodnota zadaná do registrované a její hodnoty, bude tento typ této hodnoty (tjType. a ) přidružený IDataViewDataViewType.AttributeType
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public abstract class DataViewTypeAttribute : Attribute, IEquatable<Microsoft.ML.Data.DataViewTypeAttribute>
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type DataViewTypeAttribute = class
inherit Attribute
interface IEquatable<DataViewTypeAttribute>
Public MustInherit Class DataViewTypeAttribute
Inherits Attribute
Implements IEquatable(Of DataViewTypeAttribute)
- Dědičnost
-
DataViewTypeAttribute
- Odvozené
- Atributy
- Implementuje
Konstruktory
DataViewTypeAttribute() |
DataViewTypeAttribute by měly být použity k dekorovaným vlastnostem třídy a polím, pokud budou instance této třídy načteny jako ML.NET IDataView. Funkce Register() bude volána k registraci DataViewType pro určitou sType.Attribute Vždy, když je hodnota zadaná do registrované a její hodnoty, bude tento typ této hodnoty (tjType. a ) přidružený IDataViewDataViewType.AttributeType |
Metody
Equals(DataViewTypeAttribute) |
Vrátí |
Register() |
Funkce implicitně vyvolána ML.NET při zpracování vlastního typu. Vytvoří vazbu DataViewType na vlastní typ a jeho atributy. |