/// <summary> /// Writes the <paramref name="value"/> to the ID3 tag of <paramref name="type"/> /// in the <paramref name="sndfile"/> audio file. /// </summary> /// <param name="sndfile">Audio file to write tags to.</param> /// <param name="type"><see cref="LibsndfileStringType"/> tag to change.</param> /// <param name="value">New value of <see cref="LibsndfileStringType"/> tag.</param> /// <returns>Returns an <see cref="LibsndfileError"/> error code.</returns> public LibsndfileError SetString(IntPtr sndfile, LibsndfileStringType type, string value) { return(LibsndfileApiNative.sf_set_string(sndfile, type, value)); }