 | MusicObjectSelectT Method (FuncT, Int32, MusicObject) |
Projects all music objects of specified type into a
MusicObject of the same structure.
Namespace: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic MusicObject Select<T>(
Func<T, int, MusicObject> selector
)
where T : MusicObject
Public Function Select(Of T As MusicObject) (
selector As Func(Of T, Integer, MusicObject)
) As MusicObject
public:
generic<typename T>
where T : MusicObject
MusicObject^ Select(
Func<T, int, MusicObject^>^ selector
)
member Select :
selector : Func<'T, int, MusicObject> -> MusicObject when 'T : MusicObject
Parameters
- selector
- Type: SystemFuncT, Int32, MusicObject
A transform function to apply to each element with an optional count of how many objects have been transformed
Type Parameters
- T
- The MusicObject subtype to modify.
Return Value
Type:
MusicObjectA
MusicObject of identical structure that is the result of invoking the transform function of all elements of type T.
See Also