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

'宣言
Public Function Add ( _
    value As PropertyInfo _
) As Integer
'使用
Dim instance As VirtualTypeBuilder..::.PropertyInfoCollection
Dim value As PropertyInfo
Dim returnValue As Integer

returnValue = instance.Add(value)
public int Add(
    PropertyInfo value
)
public:
int Add(
    PropertyInfo^ value
)
public function Add(
    value : PropertyInfo
) : int

Parameters

Return Value

Type: System.Int32

The index at which the value has been added.

Permissions

See Also

Reference

VirtualTypeBuilder.PropertyInfoCollection Class

VirtualTypeBuilder.PropertyInfoCollection Members

Add Overload

Microsoft.VisualStudio.Shell.Design Namespace