Preset.FindPreset Method

Searches system presets for a matching preset, based on exact name or Id, and using the current locale.

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


Public Shared Function FindPreset ( _
    name As String _
) As Preset
Dim name As String
Dim returnValue As Preset

returnValue = Preset.FindPreset(name)
public static Preset FindPreset (
    string name
static Preset^ FindPreset (
    String^ name



Name to search for.

Return Value

A preset object with a name that matches the search.

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


Preset Class
Preset Members
Microsoft.Expression.Encoder Namespace