次の方法で共有


ModelMetadataProvider.GetMetadataForProperties(Object, Type) メソッド

定義

モデルのすべてのプロパティの ModelMetadata オブジェクトを返します。

public:
 abstract System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(System::Object ^ container, Type ^ containerType);
public abstract System.Collections.Generic.IEnumerable<System.Web.ModelBinding.ModelMetadata> GetMetadataForProperties (object container, Type containerType);
abstract member GetMetadataForProperties : obj * Type -> seq<System.Web.ModelBinding.ModelMetadata>
Public MustOverride Function GetMetadataForProperties (container As Object, containerType As Type) As IEnumerable(Of ModelMetadata)

パラメーター

container
Object

コンテナーオブジェクト。

containerType
Type

コンテナー オブジェクトの型。

戻り値

IEnumerable<ModelMetadata>

ModelMetadata オブジェクトのコレクション。

適用対象