mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:06:12 +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 {
|
get {
|
||||||
ArrayList fields = new ArrayList ();
|
string[] fields = new string[Count];
|
||||||
for (uint i = 0; i < Count; i++)
|
for (uint i = 0; i < Count; i++)
|
||||||
fields.Add (NthFieldName (i));
|
fields[i] = NthFieldName (i);
|
||||||
|
|
||||||
return fields;
|
return fields;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue