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(Type, String, Func<Object,Object>, Action<Object,Object>) 该方法。

适用于