OpenTween.TweenMain.ListViewItemCache.TryGetValue C# (CSharp) Method

TryGetValue() public method

指定されたインデックスの ListViewItemPostClass をキャッシュから取得することを試みます
public TryGetValue ( int index, System.Windows.Forms.ListViewItem &item, OpenTween.PostClass &post ) : bool
index int
item System.Windows.Forms.ListViewItem
post OpenTween.PostClass
return bool
            public bool TryGetValue(int index, out ListViewItem item, out PostClass post)
            {
                if (this.Contains(index))
                {
                    item = this.ListItem[index - this.StartIndex];
                    post = this.Post[index - this.StartIndex];
                    return true;
                }
                else
                {
                    item = null;
                    post = null;
                    return false;
                }
            }
        }
TweenMain.ListViewItemCache