IEnumerableContract<C>.GetEnumeratorContract Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an enumerator that iterates through the collection.
public:
System::AddIn::Contract::Collections::IEnumeratorContract<C> ^ GetEnumeratorContract();
public System.AddIn.Contract.Collections.IEnumeratorContract<C> GetEnumeratorContract ();
abstract member GetEnumeratorContract : unit -> System.AddIn.Contract.Collections.IEnumeratorContract<'C (requires 'C :> System.AddIn.Contract.IContract)>
Public Function GetEnumeratorContract () As IEnumeratorContract(Of C)
Returns
An IEnumeratorContract<C> that can be used to iterate through the collection.
Remarks
Enumerators can be used to read the data in the collection, but they cannot be used to modify the underlying collection.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.