dotnet / dotnet/dotnet-api-docs

This is a issue

Aperta
#784 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
.net/prod area-System.ComponentModel Pri2 untriaged
Lingua principale
C#
Stelle
949
Fork
1.7k
Merge medio
3g 27m
PR unite (30g)
49

Descrizione

There are 2 PropertyDescriptors in PropertyDescriptorCollection, if PropertyDescriptor.Name is same, the IndexOf() always return the first one. Why?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 09d672e1-f1b4-a6ba-be3d-939077d8a822
* Version Independent ID: 6791dce7-e018-4ae9-1181-1ed94c0c16d1
* Content: [PropertyDescriptorCollection.IndexOf(PropertyDescriptor) Method (System.ComponentModel)](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.propertydescriptorcollection.indexof?view=netframework-4.7.1#System_ComponentModel_PropertyDescriptorCollection_IndexOf_System_ComponentModel_PropertyDescriptor_)
* Content Source: [xml/System.ComponentModel/PropertyDescriptorCollection.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.ComponentModel/PropertyDescriptorCollection.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.