Creates a new OAProperty object and adds it to the current list of properties
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Sub AddProperty ( _
propertyInfo As PropertyInfo _
)
'使用
Dim propertyInfo As PropertyInfo
Me.AddProperty(propertyInfo)
protected virtual void AddProperty(
PropertyInfo propertyInfo
)
protected:
virtual void AddProperty(
PropertyInfo^ propertyInfo
)
protected function AddProperty(
propertyInfo : PropertyInfo
)
Parameters
propertyInfo
Type: System.Reflection.PropertyInfoThe PropertyInfo for the property to be created.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.