CustomReflectionContext.AddProperties(Type) メソッド

定義

派生クラスでオーバーライドされると、このリフレクション コンテキストで表されるように、指定された型の追加のプロパティのコレクションを提供します。

protected:
 virtual System::Collections::Generic::IEnumerable<System::Reflection::PropertyInfo ^> ^ AddProperties(Type ^ type);
protected virtual System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> AddProperties (Type type);
abstract member AddProperties : Type -> seq<System.Reflection.PropertyInfo>
override this.AddProperties : Type -> seq<System.Reflection.PropertyInfo>
Protected Overridable Function AddProperties (type As Type) As IEnumerable(Of PropertyInfo)
Protected Iterator Overridable Function AddProperties (type As Type) As IEnumerable(Of PropertyInfo)

パラメーター

type
Type

プロパティを追加した後の型。

戻り値

指定した型の追加プロパティのコレクション。

注釈

このメソッドをオーバーライドして、特定の型に追加するプロパティを指定します。 プロパティを作成するには、 メソッドを使用します CreateProperty

適用対象