Versions des environnements
Network:
Windows 2008 Server
>Hi All,
>
>VFP describes Collection.Remove method as
>Use to remove a member object from a collection.
>
>.NET describes a similar Collection(Of T).RemoveAt method as
>Removes the element at the specified index of the Collection(Of T).
>
>Notice indefinite articles in the first case, and definite ones in the second -- e.g. "a collection" vs "the Collection".
>
>My three questions:
>- are they both correct ?
>- which one is preferable ?
>- should I bother ?
>
>Thank you!
The .NET function is RemoveAt whereas the VFP function is just .Remove. The "At" indicates an explicit position so the wording reflects that. The "Remove" function by itself indicates only the ability to remove which, based on the given information, then becomes an explicit entry to remove.
Both are correct. :-)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement