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
)
member Add :
value:PropertyInfo -> int
public function Add(
value : PropertyInfo
) : int
Parameters
- value
Type: System.Reflection.PropertyInfo
The PropertyInfo to be added to the end of the collection.
Return Value
Type: System.Int32
The index at which the value has been added.
.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
VirtualTypeBuilder.PropertyInfoCollection Class