Method IsInputSet
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
IsInputSet(int)
Allows you to check if an input is set (non-null) without allocating a ref to it.
bool IsInputSet(int index)
Parameters
index
int
Returns
Remarks
GetInput(), like all methods returning IObjectRef "refs", must provide a new "ref" for reference
counting purposes. Using this method allows you to avoid that allocation.
This method returns false if the index is out of range.