言語

IExpando.AddProperty(String) メソッド

定義

名前付きプロパティを Reflection オブジェクトに追加します。

public:
 System::Reflection::PropertyInfo ^ AddProperty(System::String ^ name);
public System.Reflection.PropertyInfo AddProperty(string name);
abstract member AddProperty : string -> System.Reflection.PropertyInfo
Public Function AddProperty (name As String) As PropertyInfo

パラメーター

name
String

プロパティの名前。

返品

追加されたプロパティを表す PropertyInfo オブジェクト。

例外

IExpando オブジェクトは、このメソッドをサポートしていません。

適用対象