System.Xml.XmlWriterSettings.CheckReadOnly C# (CSharp) Méthode

CheckReadOnly() private méthode

private CheckReadOnly ( string propertyName ) : void
propertyName string
Résultat void
        private void CheckReadOnly( string propertyName ) {
            if ( isReadOnly ) {
                throw new XmlException( Res.Xml_ReadOnlyProperty, "XmlWriterSettings." + propertyName );
            }
        }
    }