Share via


Preset.FindPresets Method

Returns matching system presets based on search predicate.

Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Public Shared Function FindPresets ( _
    predicate As Func(Of Preset, Boolean) _
) As IEnumerable(Of Preset)
'Usage
Dim predicate As Func(Of Preset, Boolean)
Dim returnValue As IEnumerable(Of Preset)

returnValue = Preset.FindPresets(predicate)
public static IEnumerable<Preset> FindPresets (
    Func<Preset,bool> predicate
)
public:
static IEnumerable<Preset^>^ FindPresets (
    Func<Preset^, bool>^ predicate
)
public static IEnumerable<Preset> FindPresets (
    Func<Preset,boolean> predicate
)
public static function FindPresets (
    predicate : Func<Preset,boolean>
) : IEnumerable<Preset>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Preset Class
Preset Members
Microsoft.Expression.Encoder Namespace