/// <summary> /// Deletes all comments in this section and key/value pairs /// </summary> public void ClearComments() { #pragma warning disable CS0618 // Typ oder Element ist veraltet LeadingComments.Clear(); #pragma warning restore CS0618 // Typ oder Element ist veraltet #pragma warning disable CS0618 // Typ oder Element ist veraltet TrailingComments.Clear(); #pragma warning restore CS0618 // Typ oder Element ist veraltet Keys.ClearComments(); }
/// <summary> /// Deletes all comments in this section and key/value pairs /// </summary> public void ClearComments() { #pragma warning disable CS0618 // Type or member is obsolete LeadingComments.Clear(); #pragma warning restore CS0618 // Type or member is obsolete #pragma warning disable CS0618 // Type or member is obsolete TrailingComments.Clear(); #pragma warning restore CS0618 // Type or member is obsolete Keys.ClearComments(); }
/// <summary> /// Deletes all comments in this section and key/value pairs /// </summary> public void ClearComments() { LeadingComments.Clear(); TrailingComments.Clear(); Keys.ClearComments(); }