Table of Contents

Method TryGetPropertyIndex

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

TryGetPropertyIndex<TIndex>(IDeviceEffectProperties, string, out TIndex)

public static bool TryGetPropertyIndex<TIndex>(this IDeviceEffectProperties properties, string name, out TIndex index) where TIndex : unmanaged

Parameters

properties IDeviceEffectProperties
name string
index TIndex

Returns

bool

Type Parameters

TIndex

TryGetPropertyIndex(IDeviceEffectProperties, string)

public static int? TryGetPropertyIndex(this IDeviceEffectProperties properties, string name)

Parameters

properties IDeviceEffectProperties
name string

Returns

int?

TryGetPropertyIndex<TIndex>(IDeviceEffectProperties, string)

public static TIndex? TryGetPropertyIndex<TIndex>(this IDeviceEffectProperties properties, string name) where TIndex : unmanaged

Parameters

properties IDeviceEffectProperties
name string

Returns

TIndex?

Type Parameters

TIndex