System.Configuration.PropertyInformationCollection.this C# (CSharp) Method

this() public method

public this ( string propertyName ) : PropertyInformation
propertyName string
return PropertyInformation
        public PropertyInformation this[string propertyName] {
            get {
                PropertyInformation result = (PropertyInformation) BaseGet (propertyName);

                // check for default collection name
                if (result == null) {
                    PropertyInformation defaultColl = 
                        (PropertyInformation) BaseGet (ConfigurationProperty.DefaultCollectionPropertyName);

                    if ((defaultColl != null) && (defaultColl.ProvidedName == propertyName)) {
                        result = defaultColl;
                    }
                }
                return result;   
            }
        }

Same methods

PropertyInformationCollection::this ( int index ) : PropertyInformation