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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.