SerializePropertyNamesAsCamelCaseAttribute クラス

定義

検索インデックスのフィールド名と一致させるために、モデル型のパブリック プロパティをキャメル ケースとしてシリアル化する必要があることを示します。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=true)]
public class SerializePropertyNamesAsCamelCaseAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=true)>]
type SerializePropertyNamesAsCamelCaseAttribute = class
    inherit Attribute
Public Class SerializePropertyNamesAsCamelCaseAttribute
Inherits Attribute
継承
SerializePropertyNamesAsCamelCaseAttribute
属性

注釈

この属性を持たない型には、Azure Cognitive Searchの対応するフィールド名と完全に一致するプロパティ名が必要です。 それ以外の場合は、型のインスタンスを使用してインデックスを設定することはできません。

コンストラクター

SerializePropertyNamesAsCamelCaseAttribute()

検索インデックスのフィールド名と一致させるために、モデル型のパブリック プロパティをキャメル ケースとしてシリアル化する必要があることを示します。

メソッド

IsDefinedOnType(Type)

指定した型に SerializePropertyNamesAsCamelCaseAttribute で注釈を付けるかどうかを示します。

IsDefinedOnType<T>()

指定した型に SerializePropertyNamesAsCamelCaseAttribute で注釈を付けるかどうかを示します。

適用対象