mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
Return a string[] instead of IEnumerable for the Fields property to get all fields
This commit is contained in:
parent
be6d49095f
commit
e48b6ffc51
1 changed files with 3 additions and 3 deletions
|
@ -190,11 +190,11 @@ public object this [string field] {
|
|||
}
|
||||
}
|
||||
|
||||
public IEnumerable Fields {
|
||||
public string[] Fields {
|
||||
get {
|
||||
ArrayList fields = new ArrayList ();
|
||||
string[] fields = new string[Count];
|
||||
for (uint i = 0; i < Count; i++)
|
||||
fields.Add (NthFieldName (i));
|
||||
fields[i] = NthFieldName (i);
|
||||
|
||||
return fields;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue