IExpando.AddProperty(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the named property to the Reflection object.
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
Parameters
- name
- String
The name of the property.
Returns
A PropertyInfo
object representing the added property.
Exceptions
The IExpando
object does not support this method.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.