Download data/DWSIM.Controls.PropertyGridEx/CustomPropertyCollectionSet.vb from introvoyz041/Dwsim: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.PropertyGridEx/CustomPropertyCollectionSet.vb
- Command line
-
hf download hf://datasets/introvoyz041/Dwsim/data/DWSIM.Controls.PropertyGridEx/CustomPropertyCollectionSet.vb
-
curl -L -o CustomPropertyCollectionSet.vb https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Controls.PropertyGridEx/CustomPropertyCollectionSet.vb
1.03 kB
| Namespace PropertyGridEx | |
| Public Class CustomPropertyCollectionSet | |
| Inherits System.Collections.CollectionBase | |
| Public Overridable Function Add(ByVal value As CustomPropertyCollection) As Integer | |
| Return MyBase.List.Add(value) | |
| End Function | |
| Public Overridable Function Add() As Integer | |
| Return MyBase.List.Add(New CustomPropertyCollection) | |
| End Function | |
| Default Public Overridable Property Item(ByVal index As Integer) As CustomPropertyCollection | |
| Get | |
| Return DirectCast(MyBase.List.Item(index), CustomPropertyCollection) | |
| End Get | |
| Set(ByVal value As CustomPropertyCollection) | |
| MyBase.List.Item(index) = value | |
| End Set | |
| End Property | |
| Public Overridable Function ToArray() | |
| Dim list As New ArrayList | |
| list.AddRange(MyBase.List) | |
| Return list.ToArray(GetType(CustomPropertyCollection)) | |
| End Function | |
| End Class | |
| End Namespace | |