System.Configuration.CommaDelimitedStringCollection.ThrowIfReadOnly C# (CSharp) Méthode

ThrowIfReadOnly() private méthode

private ThrowIfReadOnly ( ) : void
Résultat void
        private void ThrowIfReadOnly() {
            if (IsReadOnly == true) {
                throw new ConfigurationErrorsException(SR.GetString(SR.Config_base_read_only));
            }
        }