OAProperties.AddProperty Method
Creates a new OAProperty object and adds it to the current list of properties.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Automation
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Protected Overridable Sub AddProperty ( _
propertyInfo As PropertyInfo _
)
'Usage
Dim propertyInfo As PropertyInfo
Me.AddProperty(propertyInfo)
protected virtual void AddProperty(
PropertyInfo propertyInfo
)
protected:
virtual void AddProperty(
PropertyInfo^ propertyInfo
)
protected function AddProperty(
propertyInfo : PropertyInfo
)
abstract AddProperty :
propertyInfo:PropertyInfo -> unit
override AddProperty :
propertyInfo:PropertyInfo -> unit
Parameters
- propertyInfo
Type: System.Reflection.PropertyInfo
The property to be associated with an OAProperty object
.NET Framework Security
- 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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace