PropertyValue.Collection Property
When overridden in a derived class, gets a PropertyValueCollection of objects that represents the value of the PropertyValue.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Collection As PropertyValueCollection
'Usage
Dim instance As PropertyValue
Dim value As PropertyValueCollection
value = instance.Collection
public abstract PropertyValueCollection Collection { get; }
public:
virtual property PropertyValueCollection^ Collection {
PropertyValueCollection^ get () abstract;
}
public abstract function get Collection () : PropertyValueCollection
Property Value
Type: Microsoft.Windows.Design.PropertyEditing.PropertyValueCollection
A collection of objects that represents the value of the PropertyValue.
Remarks
If an instance of PropertyValue represents a value that is a collection, it uses the Collection property to return a PropertyValueCollection. You can use the IsCollection property to determine whether a PropertyValue represents a value that is a collection. An example of a property whose value is a collection is the RowDefinitions property.
.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.Windows.Design.PropertyEditing Namespace