Bagikan melalui


VirtualTypeBuilder.PropertyInfoCollection.Add Method (PropertyInfo)

Adds a PropertyInfo to the end of the collection.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Function Add ( _
    value As PropertyInfo _
) As Integer
public int Add(
    PropertyInfo value
)
public:
int Add(
    PropertyInfo^ value
)
member Add : 
        value:PropertyInfo -> int
public function Add(
    value : PropertyInfo
) : int

Parameters

  • value
    Type: PropertyInfo

    The PropertyInfo to be added to the end of the collection.

Return Value

Type: Int32
The index at which the value has been added.

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.PropertyInfoCollection Class

Add Overload

Microsoft.VisualStudio.Shell.Design Namespace