System.Configuration.ConfigurationSectionCollection.VerifyIsAttachedToConfigRecord C# (CSharp) Method

VerifyIsAttachedToConfigRecord() private method

private VerifyIsAttachedToConfigRecord ( ) : void
return void
        private void VerifyIsAttachedToConfigRecord() {
            if (_configRecord == null) {
                throw new InvalidOperationException(SR.GetString(SR.Config_cannot_edit_configurationsectiongroup_when_not_attached));
            }
        }