---
title: "クラスSitecoreComponentFieldAttribute"
slug: "sitecore.aspnet.renderingengine.binding.attributes.sitecorecomponentfieldattribute"
abstract: ""
---
# クラスSitecoreComponentFieldAttribute

Sitecore[コンポーネント](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.response.model.component.html) フィールドをバインドします。

## 相続

System.Object

SitecoreComponentFieldAttribute

### 実装

Microsoft。AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata

#### **名前空間**:Sitecore。AspNet.RenderingEngine.Binding.Attributes

##### **アセンブリ**:Sitecore。AspNet.RenderingEngine.dll

##### 構文論

public class SitecoreComponentFieldAttribute : Attribute

### コンストラクター

#### SitecoreComponentFieldAttribute()

##### 宣言

public SitecoreComponentFieldAttribute()

### 性質

#### バインディングソース

##### 宣言

public BindingSource BindingSource { get; }

##### 不動産価値

種類

概要

Microsoft。AspNetCore.Mvc.ModelBinding.BindingSource

#### 名称

コンポーネントフィールドリスト内のフィールド名を取得したり設定したりして、バインディングに使います。

##### 宣言

public string Name { get; set; }

##### 不動産価値

種類

概要

System.String

### 実装

Microsoft。AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata