nsISupportsArray 编辑
xpcom/ds/nsISupportsArray.idl
Scriptable Please add a summary to this article. Inherits from: nsICollection
Last changed in Gecko 1.7Method overview
boolean AppendElements(in nsISupportsArray aElements); Violates the XPCOM interface guidelines |
nsISupportsArray clone(); |
void Compact(); |
void DeleteElementAt(in unsigned long aIndex); |
void DeleteLastElement(in nsISupports aElement); |
nsISupports ElementAt(in unsigned long aIndex); Violates the XPCOM interface guidelines |
boolean EnumerateBackwards(in nsISupportsArrayEnumFunc aFunc, in voidPtr aData); Violates the XPCOM interface guidelines |
boolean EnumerateForwards(in nsISupportsArrayEnumFunc aFunc, in voidPtr aData); Violates the XPCOM interface guidelines |
boolean Equals([const] in nsISupportsArray other); Violates the XPCOM interface guidelines |
long GetIndexOf(in nsISupports aPossibleElement); |
long GetIndexOfStartingAt(in nsISupports aPossibleElement, in unsigned long aStartIndex); |
long GetLastIndexOf(in nsISupports aPossibleElement); |
long IndexOf([const] in nsISupports aPossibleElement); Violates the XPCOM interface guidelines |
long IndexOfStartingAt([const] in nsISupports aPossibleElement, in unsigned long aStartIndex); Violates the XPCOM interface guidelines |
boolean InsertElementAt(in nsISupports aElement, in unsigned long aIndex); Violates the XPCOM interface guidelines |
boolean InsertElementsAt(in nsISupportsArray aOther, in unsigned long aIndex); Violates the XPCOM interface guidelines |
long LastIndexOf([const] in nsISupports aPossibleElement); Violates the XPCOM interface guidelines |
boolean MoveElement(in long aFrom, in long aTo); Violates the XPCOM interface guidelines |
boolean RemoveElementAt(in unsigned long aIndex); Violates the XPCOM interface guidelines |
boolean RemoveElementsAt(in unsigned long aIndex, in unsigned long aCount); Violates the XPCOM interface guidelines |
boolean RemoveLastElement([const] in nsISupports aElement); Violates the XPCOM interface guidelines |
boolean ReplaceElementAt(in nsISupports aElement, in unsigned long aIndex); Violates the XPCOM interface guidelines |
boolean SizeTo(in long aSize); Violates the XPCOM interface guidelines |
Methods
Violates the XPCOM interface guidelinesAppendElements()
boolean AppendElements( in nsISupportsArray aElements );
Parameters
aElements
Return value
clone()
nsISupportsArray clone();
Parameters
None.
Return value
Compact()
void Compact();
Parameters
None.
DeleteElementAt()
void DeleteElementAt( in unsigned long aIndex );
Parameters
aIndex
DeleteLastElement()
void DeleteLastElement( in nsISupports aElement );
Parameters
aElement
ElementAt()
nsISupports ElementAt( in unsigned long aIndex );
Parameters
aIndex
Return value
EnumerateBackwards()
[notxpcom, noscript] boolean EnumerateBackwards( in nsISupportsArrayEnumFunc aFunc, in voidPtr aData );
Parameters
aFunc
aData
Return value
EnumerateForwards()
[notxpcom, noscript] boolean EnumerateForwards( in nsISupportsArrayEnumFunc aFunc, in voidPtr aData );
Parameters
aFunc
aData
Return value
Violates the XPCOM interface guidelines
Equals()
boolean Equals( [const] in nsISupportsArray other );
Parameters
other
Return value
GetIndexOf()
long GetIndexOf( in nsISupports aPossibleElement );
Parameters
aPossibleElement
Return value
GetIndexOfStartingAt()
long GetIndexOfStartingAt( in nsISupports aPossibleElement, in unsigned long aStartIndex );
Parameters
aPossibleElement
aStartIndex
Return value
GetLastIndexOf()
long GetLastIndexOf( in nsISupports aPossibleElement );
Parameters
aPossibleElement
Return value
Violates the XPCOM interface guidelines
IndexOf()
long IndexOf( [const] in nsISupports aPossibleElement );
Parameters
aPossibleElement
Return value
Violates the XPCOM interface guidelines
IndexOfStartingAt()
long IndexOfStartingAt( [const] in nsISupports aPossibleElement, in unsigned long aStartIndex );
Parameters
aPossibleElement
aStartIndex
Return value
Violates the XPCOM interface guidelines
InsertElementAt()
boolean InsertElementAt( in nsISupports aElement, in unsigned long aIndex );
Parameters
aElement
aIndex
Return value
Violates the XPCOM interface guidelines
InsertElementsAt()
boolean InsertElementsAt( in nsISupportsArray aOther, in unsigned long aIndex );
Parameters
aOther
aIndex
Return value
Violates the XPCOM interface guidelines
LastIndexOf()
long LastIndexOf( [const] in nsISupports aPossibleElement );
Parameters
aPossibleElement
Return value
Violates the XPCOM interface guidelines
MoveElement()
boolean MoveElement( in long aFrom, in long aTo );
Parameters
aFrom
aTo
Return value
Violates the XPCOM interface guidelines
RemoveElementAt()
boolean RemoveElementAt( in unsigned long aIndex );
Parameters
aIndex
Return value
Violates the XPCOM interface guidelines
RemoveElementsAt()
boolean RemoveElementsAt( in unsigned long aIndex, in unsigned long aCount );
Parameters
aIndex
aCount
Return value
Violates the XPCOM interface guidelines
RemoveLastElement()
boolean RemoveLastElement( [const] in nsISupports aElement );
Parameters
aElement
Return value
Violates the XPCOM interface guidelines
ReplaceElementAt()
boolean ReplaceElementAt( in nsISupports aElement, in unsigned long aIndex );
Parameters
aElement
aIndex
Return value
Violates the XPCOM interface guidelines
SizeTo()
boolean SizeTo( in long aSize );
Parameters
aSize
Return value
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论