Share via


DataViewTypeAttribute 클래스

정의

DataViewTypeAttribute 클래스의 인스턴스가 ML.NET IDataView로드되는 경우 데코레이팅된 클래스 속성 및 필드에 사용해야 합니다. 함수는 해당 Attribute함수 Register() 에 대한 등록을 DataViewTypeType 위해 호출됩니다. 등록된 Type 값과 해당 Attribute값에 형식화된 값이 있을 때마다 해당 값의 형식(즉, a Type) IDataView 은 연결된 DataViewType값이 됩니다.

[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)
상속
DataViewTypeAttribute
파생
특성
구현

생성자

DataViewTypeAttribute()

DataViewTypeAttribute 클래스의 인스턴스가 ML.NET IDataView로드되는 경우 데코레이팅된 클래스 속성 및 필드에 사용해야 합니다. 함수는 해당 Attribute함수 Register() 에 대한 등록을 DataViewTypeType 위해 호출됩니다. 등록된 Type 값과 해당 Attribute값에 형식화된 값이 있을 때마다 해당 값의 형식(즉, a Type) IDataView 은 연결된 DataViewType값이 됩니다.

메서드

Equals(DataViewTypeAttribute)

반환하는 경우 this 와 같 other 으면 반환하고 false 그렇지 않으면 반환 true 합니다.

Register()

사용자 지정 형식을 처리할 때 ML.NET 암시적으로 호출되는 함수입니다. DataViewType을 사용자 지정 형식과 해당 특성에 바인딩합니다.

적용 대상